Fix format string in windows_message.c

This commit is contained in:
GustavoLCR 2019-12-15 17:27:24 -03:00 committed by radare
parent 9a4578a915
commit 7e4157bc2b

View File

@ -291,8 +291,8 @@ static RTable *__create_window_table(void) {
static void __add_window_to_table(RTable *tbl, window *win) {
r_return_if_fail (tbl && win);
char *handle = r_str_newf ("0x%08"PFMT64x"", win->h);
char *pid = r_str_newf ("%ul", win->pid);
char *tid = r_str_newf ("%ul", win->tid);
char *pid = r_str_newf ("%lu", win->pid);
char *tid = r_str_newf ("%lu", win->tid);
r_table_add_row (tbl, handle, pid, tid, win->name, NULL);
free (handle);
free (tid);