diff options
Diffstat (limited to 'Build/source/libs/gd/libgd-PATCHES/patch-03-ceill')
-rw-r--r-- | Build/source/libs/gd/libgd-PATCHES/patch-03-ceill | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Build/source/libs/gd/libgd-PATCHES/patch-03-ceill b/Build/source/libs/gd/libgd-PATCHES/patch-03-ceill new file mode 100644 index 00000000000..574ccf0a805 --- /dev/null +++ b/Build/source/libs/gd/libgd-PATCHES/patch-03-ceill @@ -0,0 +1,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; + } |