mirror of
https://github.com/php/php-src.git
synced 2026-04-25 08:58:28 +02:00
fc989fc6e7
The color components are supposed to be in range 0..255, so we must not cast them to `signed char`, what can be the default for `char`. Port of <https://github.com/libgd/libgd/commit/77c8d359>.