Fix printf format specifier in graphics benchmark.
Use "%ld" for long arguments to fix asserts under 64 bit architectures. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
54d25f9d8a
commit
5adf2ecd9e
@ -203,7 +203,7 @@ private:
|
||||
|
||||
const long t = sw.Time();
|
||||
|
||||
wxPrintf("%ld images done in %ldms = %gus/image or %d FPS\n",
|
||||
wxPrintf("%ld images done in %ldms = %gus/image or %ld FPS\n",
|
||||
opts.numIters, t, (1000. * t)/opts.numIters,
|
||||
(1000*opts.numIters + t - 1)/t);
|
||||
|
||||
@ -369,7 +369,7 @@ private:
|
||||
|
||||
const long t = sw.Time();
|
||||
|
||||
wxPrintf("%ld images done in %ldms = %gus/image or %d FPS\n",
|
||||
wxPrintf("%ld images done in %ldms = %gus/image or %ld FPS\n",
|
||||
opts.numIters, t, (1000. * t)/opts.numIters,
|
||||
(1000*opts.numIters + t - 1)/t);
|
||||
}
|
||||
@ -417,7 +417,7 @@ private:
|
||||
|
||||
const long t = sw.Time();
|
||||
|
||||
wxPrintf("%ld raw bitmaps done in %ldms = %gus/bitmap or %d FPS\n",
|
||||
wxPrintf("%ld raw bitmaps done in %ldms = %gus/bitmap or %ld FPS\n",
|
||||
opts.numIters, t, (1000. * t)/opts.numIters,
|
||||
(1000*opts.numIters + t - 1)/t);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user