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

index 04e7137dbfd23309e38f15f5a79d46aec6957b4c..80069b00e72334e0ee5dc94ef56ec1d14b95b759 100644 (file)
@@ -223,8 +223,8 @@ ply_throbber_add_frame (ply_throbber_t *throbber,
 
   ply_array_add_pointer_element (throbber->frames, frame);
 
-  throbber->width = MAX (throbber->width, ply_pixel_buffer_get_width (frame));
-  throbber->height = MAX (throbber->height, ply_pixel_buffer_get_height (frame));
+  throbber->width = MAX (throbber->width, (long) ply_pixel_buffer_get_width (frame));
+  throbber->height = MAX (throbber->height, (long)ply_pixel_buffer_get_height (frame));
 
   return true;
 }