Skip to content

Commit 9afec04

Browse files
authored
Merge pull request #45 from sarahcrowle/master
Swap char for int to fix arg parsing on systems where char is unsigned
2 parents 473df02 + 4c86630 commit 9afec04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ps2-packer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ int file_exists(const char * fname) {
585585
}
586586

587587
int main(int argc, char ** argv) {
588-
char c;
588+
int c;
589589
u32 base = 0;
590590
#ifndef PS2_PACKER_LITE
591591
char buffer[BUFSIZ + 1];

0 commit comments

Comments
 (0)