diff --git a/src/android.c b/src/android.c index cd950d3c51c..7ff7f26b527 100644 --- a/src/android.c +++ b/src/android.c @@ -4943,9 +4943,7 @@ android_get_image (android_drawable handle, if (bitmap_info.format != ANDROID_BITMAP_FORMAT_A_8) { - if (ckd_mul (&byte_size, - (size_t) bitmap_info.stride, - (size_t) bitmap_info.height)) + if (ckd_mul (&byte_size, bitmap_info.stride, bitmap_info.height)) { ANDROID_DELETE_LOCAL_REF (bitmap); memory_full_up ();