From: Todd C. Miller Date: Thu, 13 Mar 2003 16:56:38 +0000 (+0000) Subject: In MAX_UID_T_LEN test cast uid_t to unsigned long, just unsigned. X-Git-Tag: SUDO_1_6_7~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4df44eea5d875fe22b0651e02b9ad5d1106fc24f;p=sudo In MAX_UID_T_LEN test cast uid_t to unsigned long, just unsigned. --- diff --git a/aclocal.m4 b/aclocal.m4 index 8a156b0fe..5c015f60c 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -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);