Commit 176ead9c authored by Federico G. Schwindt's avatar Federico G. Schwindt

Fix format string warnings

parent dabf7832
......@@ -540,7 +540,7 @@ static void
print_duration(WINDOW *w, time_t t)
{
wprintw(w, "%4d+%02d:%02d:%02d",
wprintw(w, "%4lu+%02lu:%02lu:%02lu",
t / 86400, (t % 86400) / 3600, (t % 3600) / 60, t % 60);
}
......@@ -790,8 +790,8 @@ draw_line_bitmap(WINDOW *w, int y, int x, int X, struct pt *pt)
case COL_VAL:
if (X - x < COLW)
return;
mvwprintw(w, y, x, " %010.10jx",
(pt->cur >> 24) & 0xffffffffffLL);
mvwprintw(w, y, x, " %10.10jx",
(uintmax_t)((pt->cur >> 24) & 0xffffffffffLL));
x += COLW;
break;
case COL_MAP:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment