Skip to content

Commit

Permalink
Fixed some compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmelveilleux committed Jul 24, 2014
1 parent 18114bf commit e19fc45
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dcc6502.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ unsigned short max = 0xffff; /* Maximum number of bytes to disassemble */
char line[512];

/* This function emits a comment header with information about the file
being disassembled */
being disassembled */

void emit_header(char *filename, int fsize, unsigned short org) {
fprintf(stdout, "; Source generated by DCC6502 version %s\n", VERSION_INFO);
Expand Down Expand Up @@ -376,7 +376,7 @@ void disassemble(char *output) {

char tmpstr[256], tmpstr2[256], tmpstr3[256];

int i, j, entry, found = 0;
int i, entry, found = 0;

opcode = buffer[PC];

Expand Down Expand Up @@ -718,7 +718,6 @@ void set_max(char *str) {

int main(int argc, char *argv[]) {
int i = 0;
char c;
char tmpstring[512];
char filename[512];

Expand Down

0 comments on commit e19fc45

Please sign in to comment.