diff options
author | Igor <pashev.igor@gmail.com> | 2010-02-24 06:29:47 +0300 |
---|---|---|
committer | Igor <pashev.igor@gmail.com> | 2010-02-24 06:29:47 +0300 |
commit | 28c7ab0f01f804aab6ac95f626138a73b2fa8a59 (patch) | |
tree | 115e1f3721eb83c2eef1081a6c7414719e7ab769 | |
parent | 6914bc8af663014624a686e0c07fa1cf18458b65 (diff) | |
download | brainfuck-28c7ab0f01f804aab6ac95f626138a73b2fa8a59.tar.gz |
printf format fix
-rw-r--r-- | brainfuck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/brainfuck.c b/brainfuck.c index a9aed29..9036965 100644 --- a/brainfuck.c +++ b/brainfuck.c @@ -570,7 +570,7 @@ usage(char *self) printf("Usage: %s [options] [file]\n\n", self); - printf("Size of each data cell is %u byte(s)\n", sizeof(DATATYPE)); + printf("Size of each data cell is %lu byte(s)\n", (long unsigned int)sizeof(DATATYPE)); printf("All data cells are zeros initially\n\n"); printf("Options (defaults are in brackets):\n"); printf(" -s num stack size (%u)\n", stack_size); |