blob: cfbffca746a962223c3eaf3f36c7ce047c031660 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- libgd-2.1.0.orig/src/gd_bmp.c 2013-06-25 11:58:23.000000000 +0200
+++ libgd-2.1.0/src/gd_bmp.c 2013-12-08 16:23:11.000000000 +0100
@@ -792,7 +792,7 @@ static int bmp_read_1bit(gdImagePtr im,
}
/* The line must be divisible by 4, else its padded with NULLs */
- padding = ((int)ceill(0.1 * info->width)) % 4;
+ padding = ((int)ceil(0.1 * info->width)) % 4;
if (padding) {
padding = 4 - padding;
}
|