Commit 4b851518 authored by Patrick Hogan's avatar Patrick Hogan

mrb_read_irep should take const char *

Signed-off-by: default avatarPatrick Hogan <pbhogan@gmail.com>
parent ec27c18d
......@@ -11,7 +11,7 @@
int mrb_dump_irep(mrb_state*,int,FILE*);
int mrb_load_irep(mrb_state*,FILE*);
int mrb_load_irep_offset(mrb_state*,FILE*,long);
int mrb_read_irep(mrb_state*,char*);
int mrb_read_irep(mrb_state*,const char*);
int mrb_bdump_irep(mrb_state *mrb, int n, FILE *f,const char *initname);
......
......@@ -495,7 +495,7 @@ error_exit:
}
int
mrb_read_irep(mrb_state *mrb, char *bin)
mrb_read_irep(mrb_state *mrb, const char *bin)
{
int ret = MRB_DUMP_OK, i, n, nirep, sirep;
uint32_t len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment