projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://svn.poeml.de/viewvc/ppc/src-unpacked/xscreensaver/xscreensaver-4.12.tar.bz2...
[xscreensaver]
/
hacks
/
barcode.c
diff --git
a/hacks/barcode.c
b/hacks/barcode.c
index f6b19eb8cabd993feb7674120e40a9b6441f5147..fc61a59dcfee08965dd2fba903e0762a8840ccc4 100644
(file)
--- a/
hacks/barcode.c
+++ b/
hacks/barcode.c
@@
-67,7
+67,7
@@
typedef struct
int width;
int height;
int widthBytes;
int width;
int height;
int widthBytes;
-
unsigned
char *buf;
+ char *buf;
}
Bitmap;
}
Bitmap;
@@
-594,7
+594,7
@@
static unsigned char font5x8Buf[] =
0x0f, 0x0f, 0x0f, 0x00
};
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)
/* draw the given 5x8 character at the given coordinates */
void bitmapDrawChar5x8 (Bitmap *b, int x, int y, char c)