summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-08-26 09:16:25 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-08-26 09:16:25 +0900
commitd0ced41f6ef3858b6e2f9f1e79baa5a0d801ea71 (patch)
treed50e2177179e16f069adcd8c104af88c20e18f38 /src/parse.y
parent3979dd025098b91ef055332ee17f5f024d023b3f (diff)
parentbdf6ce34ce988a4b293f48e53aa4157db6ef1688 (diff)
downloadmruby-d0ced41f6ef3858b6e2f9f1e79baa5a0d801ea71.tar.gz
mruby-d0ced41f6ef3858b6e2f9f1e79baa5a0d801ea71.zip
Merge pull request #2563 from cremno/printf-cast-variables-to-expected-type
printf: cast variables to the expected type
Diffstat (limited to 'src/parse.y')
-rw-r--r--src/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.y b/src/parse.y
index 832689bae..0c0a9877f 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -6366,7 +6366,7 @@ mrb_parser_dump(mrb_state *mrb, node *tree, int offset)
break;
default:
- printf("node type: %d (0x%x)\n", (int)n, (int)n);
+ printf("node type: %d (0x%x)\n", n, (unsigned)n);
break;
}
#endif