diff --git a/vp10/encoder/rdopt.c b/vp10/encoder/rdopt.c
index 6543b339f9e6f2f0d89b7f3145132b46273d3267..69c3391db626bc20d06c005344b1e2ffeff2ad21 100644
--- a/vp10/encoder/rdopt.c
+++ b/vp10/encoder/rdopt.c
@@ -3842,7 +3842,7 @@ static int rd_pick_intra_angle_sbuv(VP10_COMP *cpi, MACROBLOCK *x,
   mbmi->angle_delta[1] = best_angle_delta;
   if (*rate_tokenonly != INT_MAX)
     super_block_uvrd(cpi, x, &this_rate_tokenonly,
-                     &this_distortion, &s, &this_sse, bsize, INT_MAX);
+                     &this_distortion, &s, &this_sse, bsize, INT64_MAX);
   return *rate_tokenonly != INT_MAX;
 }
 #endif  // CONFIG_EXT_INTRA