$OpenBSD: patch-ext_gd_gdttf_c,v 1.3 2011/06/18 19:49:50 sthen Exp $
--- ext/gd/gdttf.c.orig.port	Sun Jan  9 21:05:06 2005
+++ ext/gd/gdttf.c	Sat Jun 18 12:44:55 2011
@@ -712,7 +712,7 @@ gdttfchar(gdImage *im, int fg, font_t *font,
 				}
 #if HAVE_LIBGD20
 				if (im->trueColor) {
-					pixel = &im->tpixels[y3][x3];
+					pixel = (unsigned char *)&im->tpixels[y3][x3];
 				} else
 #endif
 				{
