mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 00:51:19 +00:00
Update yank.c (#12787)
remove signed differences in r_core_yank_hexpair()
This commit is contained in:
parent
9ed70e42e2
commit
05b3887220
@ -337,9 +337,9 @@ R_API bool r_core_yank_hexpair(RCore *core, const char *input) {
|
||||
return false;
|
||||
}
|
||||
char *out = strdup (input);
|
||||
int len = r_hex_str2bin (input, out);
|
||||
int len = r_hex_str2bin (input, (ut8 *)out);
|
||||
if (len > 0) {
|
||||
r_core_yank_set (core, 0, out, len);
|
||||
r_core_yank_set (core, 0, (ut8 *)out, len);
|
||||
}
|
||||
free (out);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user