]> granicus.if.org Git - sudo/commitdiff
In MAX_UID_T_LEN test cast uid_t to unsigned long, just unsigned.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 13 Mar 2003 16:56:38 +0000 (16:56 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 13 Mar 2003 16:56:38 +0000 (16:56 +0000)
aclocal.m4

index 8a156b0fe618e7b5e7d57b6fc97616addf850f55..5c015f60c9b23adc2d52a1aab12ac1ab99a00459 100644 (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);