--- rxvt-unicode/src/rxvtfont.C 2009/04/04 21:27:53 1.152 +++ rxvt-unicode/src/rxvtfont.C 2010/01/30 20:43:57 1.153 @@ -1295,7 +1295,7 @@ int fg, int bg) { XGlyphInfo extents; - XftGlyphSpec *enc = (XftGlyphSpec *)rxvt_temp_buf (len * sizeof (XftGlyphSpec)); + XftGlyphSpec *enc = rxvt_temp_buf (len); XftGlyphSpec *ep = enc; dTermDisplay;