Skip to content

Commit

Permalink
Whoops. Maybe use long unsigned C89 specifier.
Browse files Browse the repository at this point in the history
  • Loading branch information
apg committed Nov 11, 2023
1 parent fb0ddc1 commit 8b5c446
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/config/auto-aux/runtest
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/sh
#$cc -O2 -o tst $* > /dev/null 2>/dev/null -Wnone || exit 100
$cc -O2 -o tst $* || exit 100
$cc -O2 -o tst $* > /dev/null 2>/dev/null -Wnone || exit 100
exec ./tst
2 changes: 1 addition & 1 deletion src/config/auto-aux/sizes.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ int main(argc, argv)
int argc;
char ** argv;
{
printf("%ld %ld %ld\n", sizeof(int), sizeof(long), sizeof(long *));
printf("%lu %lu %lu\n", sizeof(int), sizeof(long), sizeof(long *));
return 0;
}

0 comments on commit 8b5c446

Please sign in to comment.