diff --git a/libr/bin/p/bin_fs.c b/libr/bin/p/bin_fs.c index 8bea9819b0..eb59a7dab9 100644 --- a/libr/bin/p/bin_fs.c +++ b/libr/bin/p/bin_fs.c @@ -134,7 +134,7 @@ RBinPlugin r_bin_plugin_fs = { }; #ifndef CORELIB -RLiBStruct radare_plugin = { +RLibStruct radare_plugin = { .type = R_LIB_TYPE_BIN, .data = &r_bin_plugin_fs, .version = R2_VERSION diff --git a/libr/core/disasm.c b/libr/core/disasm.c index 67ed6096c1..e4025e71ab 100644 --- a/libr/core/disasm.c +++ b/libr/core/disasm.c @@ -2607,7 +2607,7 @@ static void ds_print_ptr(RDisasmState *ds, int len, int idx) { flag = str; strcpy (str + strlen (str), "\""); //Filter out remaining non printable characters, e.g. \n \r - r_str_filter (flag, 0); + r_str_filter ((char*)flag, 0); string_found = true; } }