Source

gd-libgd / src / gd_color_match.c

Author Commit Message Labels Comments Date
Mike Frysinger
fix implicit memset decl Need to include string.h to get the memset prototype: gd_color_match.c: In function 'gdImageColorMatch': gd_color_match.c:32:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] memset (buf, 0, sizeof(unsigned long) * 5 * im2->colorsTotal ); ^
Ondřej Surý
Merge gdImageColorMatch from php-libgd