In MAX_UID_T_LEN test cast uid_t to unsigned long, just unsigned.

This commit is contained in:
Todd C. Miller
2003-03-13 16:56:38 +00:00
parent 804caf3956
commit 4df44eea5d

2
aclocal.m4 vendored
View File

@@ -308,7 +308,7 @@ main() {
if ((f = fopen("conftestdata", "w")) == NULL)
exit(1);
(void) sprintf(b, "%u", u);
(void) sprintf(b, "%lu", (unsigned long) u);
(void) fprintf(f, "%d\n", strlen(b));
(void) fclose(f);
exit(0);