mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 04:21:24 +00:00
Omit useless android_get_image casts
* src/android.c (android_get_image): Omit useless and confusing casts.
This commit is contained in:
parent
4e5103a980
commit
ece22174e5
1 changed files with 1 additions and 3 deletions
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Reference in a new issue