Changeset 8d0af8a in buchla-68k for ram/sqscan.c


Ignore:
Timestamp:
11/15/2017 08:04:44 PM (6 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
3c45656
Parents:
58ff1a9
Message:

Fixed mixed-type pointer comparisons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/sqscan.c

    r58ff1a9 r8d0af8a  
    834834        if (CM_CHR('+')) {      /* output note begin */
    835835
    836                 if (E_NULL EQ (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) {
     836                if ((struct n_entry *)E_NULL EQ
     837                        (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) {
    837838
    838839                        nospace("note event");
     
    851852        if (CM_CHR('-')) {      /* output note end */
    852853
    853                 if (E_NULL EQ (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) {
     854                if ((struct n_entry *)E_NULL EQ
     855                        (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) {
    854856
    855857                        nospace("note event");
     
    877879                noteoff = t_cur + ((noteper * noteval) / dvwork);
    878880
    879                 if (E_NULL EQ (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) {
     881                if ((struct n_entry *)E_NULL EQ
     882                        (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) {
    880883
    881884                        nospace("note event");
     
    885888                p_cur = (struct s_entry *)insnevt(nsp1, EV_NBEG, curgrp, notenum, 64);
    886889
    887                 if (E_NULL EQ (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) {
     890                if ((struct n_entry *)E_NULL EQ
     891                        (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) {
    888892
    889893                        nospace("note event");
     
    910914        noteoff = t_cur + ((noteval * noteper) / dvwork);
    911915
    912         if (E_NULL EQ (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) {
     916        if ((struct n_entry *)E_NULL EQ
     917                (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) {
    913918
    914919                nospace("note event");
     
    918923        p_cur = (struct s_entry *)insnevt(nsp1, EV_NBEG, curgrp, notenum, 64);
    919924
    920         if (E_NULL EQ (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) {
     925        if ((struct n_entry *)E_NULL EQ
     926                (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) {
    921927
    922928                nospace("note event");
Note: See TracChangeset for help on using the changeset viewer.