mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 21:29:49 +00:00
Fix small warning
This commit is contained in:
parent
309e078a8d
commit
5f8c35a7dd
@ -2916,7 +2916,9 @@ R_API RList* r_bin_java_get_strings(RBinJavaObj* bin) {
|
||||
str->size = cp_obj->info.cp_utf8.length + 3;
|
||||
str->length = cp_obj->info.cp_utf8.length;
|
||||
if (str->size>0) {
|
||||
str->string = r_str_ndup (cp_obj->info.cp_utf8.bytes, R_BIN_JAVA_MAXSTR);
|
||||
str->string = r_str_ndup ((const char *)
|
||||
cp_obj->info.cp_utf8.bytes,
|
||||
R_BIN_JAVA_MAXSTR);
|
||||
}
|
||||
r_list_append (strings, (void *) str);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user