PDP11, PDP1, TX-0: Fix compiler warning with clang compiler.
This commit is contained in:
parent
b804964514
commit
197466c911
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ ws_poll(int *valp, int maxus)
|
|||
if (SCPE_OK == vid_poll_mouse (&mev)) {
|
||||
unsigned char old_lp_sw = display_lp_sw;
|
||||
|
||||
if (display_lp_sw = mev.b1_state) {
|
||||
if ((display_lp_sw = mev.b1_state)) {
|
||||
ws_lp_x = mev.x_pos;
|
||||
ws_lp_y = (ypixels - 1) - mev.y_pos; /* range 0 - (ypixels-1) */
|
||||
/* convert to display coordinates */
|
||||
|
|
Loading…
Add table
Reference in a new issue