Style fix
authorEven Rouault <even.rouault@spatialys.com>
Wed, 21 Jun 2017 11:20:35 +0000 (13:20 +0200)
committerEven Rouault <even.rouault@spatialys.com>
Wed, 21 Jun 2017 11:20:35 +0000 (13:20 +0200)
src/bin/jp2/opj_compress.c
src/bin/jp2/opj_decompress.c

index dc228e2711cad5566e6265ba25b8d205805aa6ff..1bbcebde148cd1a73858b29d6762f997439c2817 100644 (file)
@@ -1694,7 +1694,8 @@ OPJ_FLOAT64 opj_clock(void)
     /* cout << "freq = " << ((double) freq.QuadPart) << endl; */
     /* t is the high resolution performance counter (see MSDN) */
     QueryPerformanceCounter(& t) ;
-    return freq.QuadPart ? ((OPJ_FLOAT64) t.QuadPart / (OPJ_FLOAT64) freq.QuadPart) : 0 ;
+    return freq.QuadPart ? ((OPJ_FLOAT64) t.QuadPart / (OPJ_FLOAT64) freq.QuadPart)
+           : 0 ;
 #else
     /* Unix or Linux: use resource usage */
     struct rusage t;
index 89fd2025ec251c2a3b06046d75fda649564984ee..3dc651ddcbfbce35b099a5a60249f2955df45d72 100644 (file)
@@ -935,7 +935,8 @@ OPJ_FLOAT64 opj_clock(void)
     /* cout << "freq = " << ((double) freq.QuadPart) << endl; */
     /* t is the high resolution performance counter (see MSDN) */
     QueryPerformanceCounter(& t) ;
-    return freq.QuadPart ? ((OPJ_FLOAT64)t.QuadPart / (OPJ_FLOAT64)freq.QuadPart) : 0;
+    return freq.QuadPart ? ((OPJ_FLOAT64)t.QuadPart / (OPJ_FLOAT64)freq.QuadPart) :
+           0;
 #elif defined(__linux)
     struct timespec ts;
     clock_gettime(CLOCK_REALTIME, &ts);