Fix build

This commit is contained in:
pancake 2017-03-13 03:38:59 +01:00
parent 73b2a9bb24
commit 6adccc91ed
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;
}
}