X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fbarcode.c;h=fc61a59dcfee08965dd2fba903e0762a8840ccc4;hp=f6b19eb8cabd993feb7674120e40a9b6441f5147;hb=6a1da724858673ac40aa13a9612340d8bed8c7b9;hpb=96bdd7cf6ea60c418a76921acaf0e34d6f5be930 diff --git a/hacks/barcode.c b/hacks/barcode.c index f6b19eb8..fc61a59d 100644 --- a/hacks/barcode.c +++ b/hacks/barcode.c @@ -67,7 +67,7 @@ typedef struct int width; int height; int widthBytes; - unsigned char *buf; + char *buf; } Bitmap; @@ -594,7 +594,7 @@ static unsigned char font5x8Buf[] = 0x0f, 0x0f, 0x0f, 0x00 }; -static Bitmap font5x8 = { 8, 1024, 1, font5x8Buf }; +static Bitmap font5x8 = { 8, 1024, 1, (char *) font5x8Buf }; /* draw the given 5x8 character at the given coordinates */ void bitmapDrawChar5x8 (Bitmap *b, int x, int y, char c)