In MAX_UID_T_LEN test cast uid_t to unsigned long, just unsigned.
This commit is contained in:
2
aclocal.m4
vendored
2
aclocal.m4
vendored
@@ -308,7 +308,7 @@ main() {
|
|||||||
if ((f = fopen("conftestdata", "w")) == NULL)
|
if ((f = fopen("conftestdata", "w")) == NULL)
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
||||||
(void) sprintf(b, "%u", u);
|
(void) sprintf(b, "%lu", (unsigned long) u);
|
||||||
(void) fprintf(f, "%d\n", strlen(b));
|
(void) fprintf(f, "%d\n", strlen(b));
|
||||||
(void) fclose(f);
|
(void) fclose(f);
|
||||||
exit(0);
|
exit(0);
|
||||||
|
Reference in New Issue
Block a user