Clear implied conversion to int64_t warning.
authorPaul Wilkins <paulwilkins@google.com>
Mon, 3 Mar 2014 15:41:21 +0000 (15:41 +0000)
committerPaul Wilkins <paulwilkins@google.com>
Mon, 3 Mar 2014 15:41:21 +0000 (15:41 +0000)
Clear warning caused by implied conversion from int32 to int64.

Change-Id: I473b37a54984cbfb22702eb3f712465881ff86e8

vp9/encoder/vp9_pickmode.c

index edb14ea..9ba48a1 100644 (file)
@@ -261,7 +261,7 @@ int64_t vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
         continue;
 
       if (this_mode == NEWMV) {
-        if (this_rd < (1 << num_pels_log2_lookup[bsize]))
+        if (this_rd < (int64_t)(1 << num_pels_log2_lookup[bsize]))
           continue;
 
         x->mode_sad[ref_frame][INTER_OFFSET(NEWMV)] =