diff options
author | Naseer Ahmed <naseer@codeaurora.org> | 2013-04-16 14:12:27 -0400 |
---|---|---|
committer | dhacker29 <dhackerdvm@gmail.com> | 2015-01-09 15:50:51 -0500 |
commit | cae99f7eec9e0819af42982efd88cfe53bc0c997 (patch) | |
tree | 8f7b058d213a8b3b5dd027cf3772dec3f239dbf2 | |
parent | 68cee4976d0e6ef20df37651985009440d089abc (diff) | |
download | android_hardware_qcom_display-stable/cm-12.0-YNG1TA.tar.gz android_hardware_qcom_display-stable/cm-12.0-YNG1TA.tar.bz2 android_hardware_qcom_display-stable/cm-12.0-YNG1TA.zip |
copybit: Fix type conversion error for GCC 4.7stable/cm-12.0-YNG4Nstable/cm-12.0-YNG3Cstable/cm-12.0-YNG1TAstable/cm-12.0-YNG1Tstable/cm-12.0-YNG1Icm-12.0
GCC 4.7 has stricter type conversion rules
Change-Id: I699cfe1ceafb5728fb8e6f34f7b1996d3c812e7e
-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); |