summaryrefslogtreecommitdiff
path: root/compat/cbits
diff options
context:
space:
mode:
authorsof@galois.com <unknown>2006-06-14 16:46:50 +0000
committersof@galois.com <unknown>2006-06-14 16:46:50 +0000
commit765b81f4a00fd739af5d41a0a66b12bdf46a99bd (patch)
tree2d26107a46e28e72692d8a4d146e8f2d9ceee3fd /compat/cbits
parent6879f4132340cb2f56eced35b8f6029a6f9a3ecb (diff)
downloadhaskell-765b81f4a00fd739af5d41a0a66b12bdf46a99bd.tar.gz
__compat_long_path_size(): have proto and defn agree on return type
Diffstat (limited to 'compat/cbits')
-rw-r--r--compat/cbits/directory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/cbits/directory.c b/compat/cbits/directory.c
index 79d6cd4d44..456f612866 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)