sprite test
[retrocrawl] / tools / conv_sprite
index c05deb7..7851dee 100755 (executable)
@@ -5,6 +5,9 @@ if [ -z "$1" ]; then
        exit 1
 fi
 
+# fix header file char -> unsigned char
+sed -i 's/static char/static unsigned char/' "$1"
+
 cc -pedantic -Wall -DHDRFILE=\"$1\" -o /tmp/conv_sprite.bin conv_sprite.c
 if [ $? != 0 ]; then
        exit 1