diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-08-08 15:12:42 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 16:21:34 +0900 |
| commit | 500f721f7080e79c2e41e306cc1d94471c10f173 (patch) | |
| tree | b86c37fc3ef84a6710e786807ca6b993b74987a3 /src/dump.c | |
| parent | cb89e1f0d9d9f05e53705d228b69decbc428a650 (diff) | |
| download | mruby-500f721f7080e79c2e41e306cc1d94471c10f173.tar.gz mruby-500f721f7080e79c2e41e306cc1d94471c10f173.zip | |
Fix typo `_hander` -> `_handler`.
Diffstat (limited to 'src/dump.c')
| -rw-r--r-- | src/dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dump.c b/src/dump.c index b14fc4a1f..3bc95f629 100644 --- a/src/dump.c +++ b/src/dump.c @@ -279,7 +279,7 @@ get_catch_table_block_size(mrb_state *mrb, const mrb_irep *irep) size_t size = 0; size += sizeof(uint16_t); /* number of catch handler */ - size += (sizeof(struct mrb_irep_catch_hander)) * irep->clen; + size += (sizeof(struct mrb_irep_catch_handler)) * irep->clen; return size; } @@ -288,7 +288,7 @@ static ptrdiff_t write_catch_table_block(mrb_state *mrb, const mrb_irep *irep, uint8_t *buf) { uint8_t *cur = buf; - const struct mrb_irep_catch_hander *e = mrb_irep_catch_handler_table(irep); + const struct mrb_irep_catch_handler *e = mrb_irep_catch_handler_table(irep); mrb_static_assert1(sizeof(*e) == 7); if (e == NULL) return 0; |
