A minor bug.
It only effect 32 bpp framebuff which I was using when worked
with bterm.
Index: bogl-cfb.c
===================================================================
RCS file: /cvs/debian-boot/boot-floppies/utilities/bogl/bogl-cfb.c,v
retrieving revision 1.1
diff -u -r1.1 bogl-cfb.c
--- bogl-cfb.c 1999/04/17 00:52:47 1.1
+++ bogl-cfb.c 2001/01/17 14:03:05
@@ -63,7 +63,8 @@
/* Size of an "unsigned int" in pixels:
== sizeof(unsigned int) / b / 8 */
const int intsiz = sizeof(unsigned int) * 8 / b;
- const int mask = (1 << b) - 1;
+ /* long long is needed for b == 32 */
+ const int mask = ((long long) 1 << b) - 1;
unsigned int fill;
/* MUST be signed! */
ssize_t xlen;
--
Best regard
hashao
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]