summaryrefslogtreecommitdiff
path: root/src/w32bdf.c
diff options
context:
space:
mode:
authorAndrew Innes <andrewi@gnu.org>2000-08-22 22:50:55 +0000
committerAndrew Innes <andrewi@gnu.org>2000-08-22 22:50:55 +0000
commitcc26af7500300b129263b51a5f9dd2379ed74e4a (patch)
tree7a9d8ad75801c521edf82f542b9f8a9ca13141b7 /src/w32bdf.c
parent2506008079af8ecc029569d641aabe89b3d9df61 (diff)
downloademacs-cc26af7500300b129263b51a5f9dd2379ed74e4a.tar.gz
(search_file_line):
(set_bdf_font_info): (seek_char): (w32_get_bdf_glyph): (w32_BDF_to_x_font): Fix compile warnings.
Diffstat (limited to 'src/w32bdf.c')
-rw-r--r--src/w32bdf.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/w32bdf.c b/src/w32bdf.c
index 932c874356f..c41ecd07220 100644
--- a/src/w32bdf.c
+++ b/src/w32bdf.c
@@ -49,7 +49,7 @@ static int
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 @@ get_quoted_string(char *start, char *end)
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 @@ seek_char(bdffont *fontp, int index)
{
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 @@ int
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 @@ int w32_BDF_to_x_font (char *file, char* xstr, int len)
{
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,