Skip to content

Commit

Permalink
fix reading of bytes from file
Browse files Browse the repository at this point in the history
  • Loading branch information
sandsmark committed Mar 1, 2016
1 parent bdec404 commit 20c02bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ int main(int argc, char *argv[])

dcd_v2_t dcd_table;

unsigned char byte = getc(file);
int byte = getc(file);

while (byte != EOF) {
if (byte != IVT_HEADER_TAG) {
Expand Down

0 comments on commit 20c02bb

Please sign in to comment.