about summary refs log tree commit diff
path: root/intl/dcgettext.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/dcgettext.c')
-rw-r--r--intl/dcgettext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/intl/dcgettext.c b/intl/dcgettext.c
index 2a2b895cc9..9f76abf89a 100644
--- a/intl/dcgettext.c
+++ b/intl/dcgettext.c
@@ -298,7 +298,7 @@ DCGETTEXT (domainname, msgid, category)
       size_t path_max;
       char *ret;
 
-      path_max = (unsigned) PATH_MAX;
+      path_max = (unsigned int) PATH_MAX;
       path_max += 2;		/* The getcwd docs say to do this.  */
 
       dirname = (char *) alloca (path_max + dirname_len);