aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor <pashev.igor@gmail.com>2010-02-24 06:29:47 +0300
committerIgor <pashev.igor@gmail.com>2010-02-24 06:29:47 +0300
commit28c7ab0f01f804aab6ac95f626138a73b2fa8a59 (patch)
tree115e1f3721eb83c2eef1081a6c7414719e7ab769
parent6914bc8af663014624a686e0c07fa1cf18458b65 (diff)
downloadbrainfuck-28c7ab0f01f804aab6ac95f626138a73b2fa8a59.tar.gz
printf format fix
-rw-r--r--brainfuck.c2
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);