From ffe9a032601ffb59a10141bce13b4322a1584e87 Mon Sep 17 00:00:00 2001 From: Gabriel Dos Reis Date: Sun, 24 Jan 2016 15:27:30 -0800 Subject: Misc. fixes With the siwtch to a C++ compiler, the AC_PATH_XTRA has become less effective as it internally relies on the C compiler invokation. Fixed CXXFLAGS, CPPFLAGS, and LDFLAGS when detecting usability. Various bitmasks in src/hyper and src/graph were bogusly using 'char' (instead of 'unsigned char') when they specify values larger than 127. Caught by the C++ compiler, thanks to no-narrowing conversion. Fixed. Eventually the X11-based HD interface and graphics should be replaced by a more modern GUI interface. --- src/graph/include/light11.mask | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/graph/include/light11.mask') diff --git a/src/graph/include/light11.mask b/src/graph/include/light11.mask index 4fffa962..dc1025fd 100644 --- a/src/graph/include/light11.mask +++ b/src/graph/include/light11.mask @@ -2,7 +2,7 @@ #define lightMask_height 16 #define lightMask_x_hot 8 #define lightMask_y_hot 0 -static char lightMask_bits[] = { +static unsigned char lightMask_bits[] = { 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x04, 0x40, 0xc8, 0x27, 0x20, 0x08, 0x10, 0x11, 0x96, 0x12, 0x90, 0xd2, 0x90, 0x10, 0x24, 0x09, 0x42, 0x45, 0x40, 0x85, 0x80, 0x03, 0x80, 0x02, 0x00, 0x01}; -- cgit v1.2.3