diff options
-rw-r--r-- | msm8960/libcopybit/copybit_c2d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/msm8960/libcopybit/copybit_c2d.cpp b/msm8960/libcopybit/copybit_c2d.cpp index 882a6529d..020fec68d 100644 --- a/msm8960/libcopybit/copybit_c2d.cpp +++ b/msm8960/libcopybit/copybit_c2d.cpp @@ -1387,8 +1387,8 @@ static int blit_copybit( { int status = COPYBIT_SUCCESS; struct copybit_context_t* ctx = (struct copybit_context_t*)dev; - struct copybit_rect_t dr = { 0, 0, dst->w, dst->h }; - struct copybit_rect_t sr = { 0, 0, src->w, src->h }; + struct copybit_rect_t dr = { 0, 0, (int)dst->w, (int)dst->h }; + struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; pthread_mutex_lock(&ctx->wait_cleanup_lock); status = stretch_copybit_internal(dev, dst, src, &dr, &sr, region, false); pthread_mutex_unlock(&ctx->wait_cleanup_lock); |