Permalink
Browse files

Fix warning under SunOS

  • Loading branch information...
1 parent 93f512c commit fff9093a37743ecec7a245e1ceea247e5f3a088e @TamberP committed Apr 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main.c
View
2 src/main.c
@@ -88,7 +88,7 @@ int main(int argc, char **argv){
exit(EXIT_FAILURE);
}
if(exe_header[2] != (sizeof(muword)*8)){
- fprintf(stderr, "Word length mismatch; %s created for a %d-bit cowMachine, this machine has %li bits.\n",
+ fprintf(stderr, "Word length mismatch; %s created for a %d-bit cowMachine, this machine has %lu bits.\n",
prog_name, exe_header[2], (sizeof(muword)*8));
exit(EXIT_FAILURE);
}

0 comments on commit fff9093

Please sign in to comment.