diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2017-06-21 12:54:40 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2017-06-21 12:54:40 +0200 |
| commit | 93aca84731bfffb20e968af10055a8cd0401806e (patch) | |
| tree | aa57a7972e2ac47b581e5145aaa8ba0fef1f8b68 /src/lib | |
| parent | cdd3e83bae71e1e023c4c2bdd5e52d082576e550 (diff) | |
Fix mingw related warnings
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/openjp2/opj_clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/opj_clock.c b/src/lib/openjp2/opj_clock.c index ab026ea2..24f79a9a 100644 --- a/src/lib/openjp2/opj_clock.c +++ b/src/lib/openjp2/opj_clock.c @@ -49,7 +49,7 @@ OPJ_FLOAT64 opj_clock(void) /* cout << "freq = " << ((double) freq.QuadPart) << endl; */ /* t is the high resolution performance counter (see MSDN) */ QueryPerformanceCounter(& t) ; - return (t.QuadPart / (OPJ_FLOAT64) freq.QuadPart) ; + return ((OPJ_FLOAT64) t.QuadPart / (OPJ_FLOAT64) freq.QuadPart) ; #else /* Unix or Linux: use resource usage */ struct rusage t; |
