fixed llx of my previous code to PFMT64x because of portability issue (#9444)

This commit is contained in:
Vanellope 2018-02-21 06:18:02 +09:00 committed by radare
parent e7e544cbd8
commit 4a3cfe1882
2 changed files with 2 additions and 3 deletions

View File

@ -1262,7 +1262,7 @@ static int autocomplete(RLine *line) {
str = line->buffer.data + buflen;
n = strlen (str);
r_list_foreach (bp->bps, iter, b) {
char *addr = r_str_newf ("0x%llx", b->addr);
char *addr = r_str_newf ("0x%"PFMT64x"", b->addr);
if (!strncmp (addr, str, n)) {
tmp_argv[i++] = addr;
} else {

View File

@ -5,8 +5,7 @@
#include <r_core.h>
#define PANEL_TYPE_FRAME 0
#define PANEL_TYPE_DIALOG 1
#define PANEL_TYPE_FLOAT 2
#define PANEL_TYPE_FLOAT 1
#define LIMIT 256
typedef struct {