main: adapt to s64

This commit is contained in:
Thomas Schoebel-Theuer 2021-01-25 14:30:15 +01:00 committed by Thomas Schoebel-Theuer
parent ecdd4f5ef4
commit 9c6fbb8fc6
1 changed files with 3 additions and 1 deletions

View File

@ -3431,7 +3431,9 @@ bool is_shutdown(void)
int used = atomic_read(&global_mshadow_count);
if (used > 0) {
MARS_INF("global shutdown delayed: there are %d buffers in use, occupying %ld bytes\n", used, atomic64_read(&global_mshadow_used));
MARS_INF("global shutdown delayed: there are %d buffers in use, occupying %lld bytes\n",
used,
(s64)atomic64_read(&global_mshadow_used));
return false;
}
used = atomic_read(&mars_global_io_flying);