%Ld is for long double, not long long (%lld)

This commit is contained in:
gbeauche 2005-06-11 06:52:22 +00:00
parent 0f0b06b099
commit 369d01cf16
2 changed files with 2 additions and 2 deletions

View File

@ -1163,7 +1163,7 @@ static void *tick_func(void *arg)
ticks++;
}
uint64 end = GetTicks_usec();
D(bug("%Ld ticks in %Ld usec = %f ticks/sec\n", ticks, end - start, ticks * 1000000.0 / (end - start)));
D(bug("%lld ticks in %lld usec = %f ticks/sec\n", ticks, end - start, ticks * 1000000.0 / (end - start)));
return NULL;
}
#endif

View File

@ -2637,7 +2637,7 @@ static void *redraw_func(void *arg)
}
uint64 end = GetTicks_usec();
D(bug("%Ld refreshes in %Ld usec = %f refreshes/sec\n", ticks, end - start, ticks * 1000000.0 / (end - start)));
D(bug("%lld refreshes in %lld usec = %f refreshes/sec\n", ticks, end - start, ticks * 1000000.0 / (end - start)));
redraw_thread_cancel_ack = true;
return NULL;