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);