]> git.videolan.org Git - x264.git/commitdiff
Fix checkasm --bench output when nop_cycles is too large
authorAnton Mitrofanov <BugMaster@narod.ru>
Mon, 10 Mar 2014 17:17:19 +0000 (21:17 +0400)
committerJason Garrett-Glaser <jason@x264.com>
Tue, 11 Mar 2014 21:48:05 +0000 (14:48 -0700)
tools/checkasm.c

index afb08e117cee323587b75e96b3413a0acdabfc31..2edd1c8eeb8e97c9d7af767a065a2746c0d5eaad 100644 (file)
@@ -200,7 +200,7 @@ static void print_bench(void)
                     b->cpu&X264_CPU_FAST_NEON_MRC ? "_fast_mrc" :
 #endif
                     "",
-                    ((int64_t)10*b->cycles/b->den - nop_time)/4 );
+                    (int64_t)(10*b->cycles/b->den - nop_time)/4 );
         }
 }