diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-07-03 08:56:40 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-07-03 08:56:40 -0700 |
| commit | fb44a674fbb1aa34083b3e86bdd03cbe85f19afe (patch) | |
| tree | 0ca047acdd006781a09f2a96532ec247ccc79294 /src/codegen.c | |
| parent | 228bab85d6f7ab3b04a06be3c1256fd9cdbb2c72 (diff) | |
| parent | e57da6ae2a0d135af5e6400634478da27a5f4f01 (diff) | |
| download | mruby-fb44a674fbb1aa34083b3e86bdd03cbe85f19afe.tar.gz mruby-fb44a674fbb1aa34083b3e86bdd03cbe85f19afe.zip | |
Merge pull request #1336 from carsonmcdonald/warnfix3
More unsigned signed warning fixes
Diffstat (limited to 'src/codegen.c')
| -rw-r--r-- | src/codegen.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/codegen.c b/src/codegen.c index 091561b45..e240995e5 100644 --- a/src/codegen.c +++ b/src/codegen.c @@ -59,7 +59,7 @@ typedef struct scope { int icapa; mrb_irep *irep; - int pcapa; + size_t pcapa; int scapa; int nlocals; @@ -2505,7 +2505,8 @@ codedump(mrb_state *mrb, int n) { #ifdef ENABLE_STDIO mrb_irep *irep = mrb->irep[n]; - int i, ai; + uint32_t i; + int ai; mrb_code c; if (!irep) return; |
