]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[animation] fix signedness warnings
authorRay Strode <rstrode@redhat.com>
Sun, 22 Aug 2010 19:36:47 +0000 (15:36 -0400)
committerRay Strode <rstrode@redhat.com>
Sun, 22 Aug 2010 19:36:47 +0000 (15:36 -0400)
src/libply-splash-graphics/ply-animation.c

index 53639186b5cbfd0a1b593ebde46ec398dc2dda8b..343fe22c1bd0780072b2d2113b8069bc939a7c7d 100644 (file)
@@ -219,8 +219,8 @@ ply_animation_add_frame (ply_animation_t *animation,
 
   ply_array_add_pointer_element (animation->frames, frame);
 
-  animation->width = MAX (animation->width, ply_pixel_buffer_get_width (frame));
-  animation->height = MAX (animation->height, ply_pixel_buffer_get_height (frame));
+  animation->width = MAX (animation->width, (long) ply_pixel_buffer_get_width (frame));
+  animation->height = MAX (animation->height,  (long) ply_pixel_buffer_get_height (frame));
 
   return true;
 }