Fixed some compiler warnings

This commit is contained in:
Tennessee Carmel-Veilleux 2014-07-24 14:13:24 -04:00
parent 18114bf7df
commit e19fc4568c
1 changed files with 2 additions and 3 deletions

View File

@ -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);
@ -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];
@ -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];