changeset 31108:ba53675aa8f9

(search_file_line): (set_bdf_font_info): (seek_char): (w32_get_bdf_glyph): (w32_BDF_to_x_font): Fix compile warnings.
author Andrew Innes <andrewi@gnu.org>
date Tue, 22 Aug 2000 22:50:55 +0000
parents 138c4e88e0fe
children 88608fbaf4eb
files src/w32bdf.c
diffstat 1 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32bdf.c	Tue Aug 22 22:49:36 2000 +0000
+++ b/src/w32bdf.c	Tue Aug 22 22:50:55 2000 +0000
@@ -49,7 +49,7 @@
 search_file_line(char *key, char *start, int len, char **val, char **next)
 {
   int linelen;
-  unsigned char *p, *q;
+  char *p;
 
   p = memchr(start, '\n', len);
   if (!p) return -1;
@@ -107,7 +107,7 @@
 static int
 set_bdf_font_info(bdffont *fontp)
 {
-  unsigned char *start, *p, *q;
+  char *start, *p, *q;
   int len, flag;
   int bbw, bbh, bbx, bby;
   int val1;
@@ -345,7 +345,8 @@
 {
   font_char *result;
   int len, flag, font_index;
-  unsigned char *start, *p, *q;
+  unsigned char *start;
+  char *p, *q;
 
   if (!fontp->seeked) return NULL;
 
@@ -379,8 +380,9 @@
 w32_get_bdf_glyph(bdffont *fontp, int index, int size, glyph_struct *glyph)
 {
   font_char *pch;
-  unsigned char *start, *p, *q, *bitmapp;
-  unsigned char val1, val2;
+  unsigned char *start, *bitmapp;
+  char *p, *q;
+  char val1, val2;
   int i, j, len, flag;
 
   pch = get_cached_font_char(fontp, index);
@@ -692,7 +694,7 @@
 {
   HANDLE hfile, hfilemap;
   BY_HANDLE_FILE_INFORMATION fileinfo;
-  unsigned char *font, *start, *p, *q;
+  char *font, *start, *p, *q;
   int flag, size, retval = 0;
 
   hfile = CreateFile (file, GENERIC_READ, FILE_SHARE_READ, NULL,