Skip to content

Commit

Permalink
compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
raybellis committed Feb 19, 2018
1 parent d347f64 commit 2d24737
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mc6809_X.cc
Expand Up @@ -82,8 +82,8 @@ mc6809_X::mc6809_X()

// Set window class
XClassHint xch;
xch.res_name = "mc6809";
xch.res_class = "MC6809";
xch.res_name = strdup("mc6809");
xch.res_class = strdup("MC6809");
XSetClassHint(dpy, win, &xch);

// Put the window on the screen
Expand Down Expand Up @@ -145,7 +145,7 @@ void mc6809_X::status(void)
strcat(tmp, " ");
}

for (j = 0; j < 8; ++j) {
for (int j = 0; j < 8; ++j) {
Byte ch = memory[stk + j];
strcat(tmp, ascchr(ch));
}
Expand Down

0 comments on commit 2d24737

Please sign in to comment.