blob: 574ccf0a8056bfda7b07343c29ab762047f46886 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -ur libgd-2.1.1.orig/src/gd_bmp.c libgd-2.1.1/src/gd_bmp.c
--- libgd-2.1.1.orig/src/gd_bmp.c 2015-01-06 10:16:03.000000000 +0100
+++ libgd-2.1.1/src/gd_bmp.c 2015-01-14 10:50:17.032906106 +0100
@@ -792,7 +792,7 @@
}
/* 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;
}
|