summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/addrofstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/addrofstr.c')
-rw-r--r--otherlibs/unix/addrofstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/unix/addrofstr.c b/otherlibs/unix/addrofstr.c
index e17841f95..a2830ba59 100644
--- a/otherlibs/unix/addrofstr.c
+++ b/otherlibs/unix/addrofstr.c
@@ -73,7 +73,7 @@ CAMLprim value unix_inet_addr_of_string(value s)
#else
struct in_addr address;
address.s_addr = inet_addr(String_val(s));
- if (address.s_addr == (uint32) -1) failwith("inet_addr_of_string");
+ if (address.s_addr == (uint32_t) -1) failwith("inet_addr_of_string");
return alloc_inet_addr(&address);
#endif
}