From: sof@galois.com Date: Wed, 14 Jun 2006 16:46:50 +0000 (+0000) Subject: __compat_long_path_size(): have proto and defn agree on return type X-Git-Tag: Before_FC_branch_merge~389 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=765b81f4a00fd739af5d41a0a66b12bdf46a99bd __compat_long_path_size(): have proto and defn agree on return type --- diff --git a/compat/cbits/directory.c b/compat/cbits/directory.c index 79d6cd4..456f612 100644 --- a/compat/cbits/directory.c +++ b/compat/cbits/directory.c @@ -21,9 +21,9 @@ * (PATH_MAX is not defined on systems with unlimited path length, * e.g. the Hurd). */ -INLINE HsInt __compat_long_path_size() { return PATH_MAX; } +INLINE int __compat_long_path_size() { return PATH_MAX; } #else -INLINE HsInt __compat_long_path_size() { return 4096; } +INLINE int __compat_long_path_size() { return 4096; } #endif #if defined(mingw32_HOST_OS)