]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Fix signedness issue in fb area_intersect code
authorCharles Brej <cb@cs.man.ac.uk>
Fri, 3 Oct 2008 16:30:31 +0000 (12:30 -0400)
committerRay Strode <rstrode@redhat.com>
Fri, 3 Oct 2008 16:30:31 +0000 (12:30 -0400)
src/libply/ply-frame-buffer.c

index fbc9619d25b3d49f93e69410f2ca0430e838d98c..d80a6cdbcbb2a98f1fb8bbee582ba9b878161c5e 100644 (file)
@@ -690,7 +690,7 @@ ply_frame_buffer_area_intersect (ply_frame_buffer_area_t *area1,
                                  ply_frame_buffer_area_t *area2,
                                  ply_frame_buffer_area_t *result)
 {
-  unsigned long x1, y1, x2, y2;
+  long x1, y1, x2, y2;
   long width, height;
 
   if (area1->width == 0)