Commit 765b81f4 authored by sof@galois.com's avatar sof@galois.com

__compat_long_path_size(): have proto and defn agree on return type

parent 6879f413
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment