grid: fix 32-bit compilation

This commit is contained in:
Daniel Eklöf 2021-05-15 12:11:58 +02:00
parent a5d7f2e592
commit 60a55d04ac
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

6
grid.c
View file

@ -722,8 +722,10 @@ grid_resize_and_reflow(
struct timeval diff;
timersub(&stop, &start, &diff);
LOG_INFO("reflowed %d -> %d rows in %lds %ldµs",
old_rows, new_rows, diff.tv_sec, diff.tv_usec);
LOG_INFO("reflowed %d -> %d rows in %llds %lldµs",
old_rows, new_rows,
(long long)diff.tv_sec,
(long long)diff.tv_usec);
#endif
}