diff options
author | Gabriel Dos Reis <gdr@axiomatics.org> | 2016-01-24 15:27:30 -0800 |
---|---|---|
committer | Gabriel Dos Reis <gdr@axiomatics.org> | 2016-01-24 15:27:30 -0800 |
commit | ffe9a032601ffb59a10141bce13b4322a1584e87 (patch) | |
tree | 275657b9910b7165aac7c08665cd38062bd77e9e /src/graph/include/light11.mask | |
parent | c8d6a86fcc61c4bee855fc2cfa2ae7338f2084f8 (diff) | |
download | open-axiom-ffe9a032601ffb59a10141bce13b4322a1584e87.tar.gz |
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 <X11/xpm.h> 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.
Diffstat (limited to 'src/graph/include/light11.mask')
-rw-r--r-- | src/graph/include/light11.mask | 2 |
1 files changed, 1 insertions, 1 deletions
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}; |