]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix GNUstep build
authorAlan Third <alan@idiocy.org>
Mon, 23 Sep 2019 18:17:38 +0000 (19:17 +0100)
committerAlan Third <alan@idiocy.org>
Mon, 23 Sep 2019 18:17:38 +0000 (19:17 +0100)
* src/nsfont.m (nsfont_draw): Change type to match.

Co-authored-by: martin rudalics <rudalics@gmx.at>
src/nsfont.m

index dc609cc5d084a3c10eb8ff1fea653079321d1295..437776e7df0e7d92524e6bf6cf7d036bad83e0a9 100644 (file)
@@ -1010,7 +1010,7 @@ nsfont_draw (struct glyph_string *s, int from, int to, int x, int y,
   NSRect r;
   struct nsfont_info *font;
   NSColor *col, *bgCol;
-  unsigned short *t = s->char2b;
+  unsigned *t = s->char2b;
   int i, len, flags;
   char isComposite = s->first_glyph->type == COMPOSITE_GLYPH;