X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Fgtkfont.c;h=9b655e4436345331206ba58010c15d12d491785f;hb=095072fa46b2d7b8beafaddb2f873d2f500a1e10;hp=7e30355643e3a1921c34fec3bc87b93344f0ea19;hpb=5c390fceab571319cc9ea5bb9a08e60eeab6a3e7;p=PuTTY.git diff --git a/unix/gtkfont.c b/unix/gtkfont.c index 7e303556..9b655e44 100644 --- a/unix/gtkfont.c +++ b/unix/gtkfont.c @@ -352,8 +352,8 @@ static int x11_font_width(XFontStruct *xfs, int sixteen_bit) } } -static const XCharStruct *x11_char_struct(XFontStruct *xfs, - int byte1, int byte2) +static const XCharStruct *x11_char_struct( + XFontStruct *xfs, unsigned char byte1, unsigned char byte2) { int index; @@ -403,7 +403,8 @@ static const XCharStruct *x11_char_struct(XFontStruct *xfs, return &xfs->per_char[index]; } -static int x11_font_has_glyph(XFontStruct *xfs, int byte1, int byte2) +static int x11_font_has_glyph( + XFontStruct *xfs, unsigned char byte1, unsigned char byte2) { /* * Not to be confused with x11font_has_glyph, which is a method of