X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=retrocrawl;a=blobdiff_plain;f=tools%2Fconv_sprite;fp=tools%2Fconv_sprite;h=7851dee7d49b71a6bafe7be45103ab1ebf89e4ad;hp=c05deb7a857f03287246304f29cab3f546b6177a;hb=196421f047414a192f285c8e98346a4595da2d46;hpb=af94a88e5de76c4b00df102f82643b4b64cb529a diff --git a/tools/conv_sprite b/tools/conv_sprite index c05deb7..7851dee 100755 --- a/tools/conv_sprite +++ b/tools/conv_sprite @@ -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