Merge pull request #2 from bentley/master

Minor nits
This commit is contained in:
devinacker 2013-11-12 13:55:15 -08:00
commit 39e2c2c03d
4 changed files with 4 additions and 5 deletions

View file

@ -243,7 +243,7 @@ size_t unpack(uint8_t *packed, uint8_t *unpacked) {
printf("Backref (rotate) : %i\n", methoduse[5]);
printf("Backref (reverse): %i\n", methoduse[6]);
printf("\nCompressed size: % zd bytes\n", inpos);
printf("\nCompressed size: %u bytes\n", inpos);
#endif
return (size_t)outpos;

View file

@ -52,7 +52,7 @@ int main (int argc, char **argv) {
fseek(outfile, 0, SEEK_SET);
fwrite((const void*)unpacked, 1, outputsize, outfile);
printf("Uncompressed size: % zd bytes\n", outputsize);
printf("Uncompressed size: %zd bytes\n", outputsize);
fclose(infile);
fclose(outfile);

View file

@ -76,7 +76,7 @@ int main (int argc, char **argv) {
fseek(infile, 0, SEEK_END);
inputsize = ftell(infile);
printf("Uncompressed size: % zd bytes\n", inputsize);
printf("Uncompressed size: %zd bytes\n", inputsize);
if (inputsize > DATA_SIZE) {
printf("Error: File must be a maximum of 65,536 bytes!\n");

View file

@ -2,9 +2,8 @@
# copyright 2013 Devin Acker (Revenant)
# See copying.txt for legal information.
CC = gcc
FLAGS = -std=c99 -Os -Wall -s
DELETE = rm
DELETE = rm -f
# Add extension when compiling for Windows
ifdef SystemRoot