Changeset 8d0af8a in buchla-68k for ram/asgvce.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/asgvce.c

    r58ff1a9 r8d0af8a  
    7979                DB_CMNT("ne_end - non-step");
    8080
    81                 if (E_NULL NE (ep = (struct n_entry *)e_alc(E_SIZE1))) {
     81                if ((struct n_entry *)E_NULL NE (ep = (struct n_entry *)e_alc(E_SIZE1))) {
    8282
    8383                        DB_CMNT("ne_end - enter note end");
     
    127127                                grp = nelist->group;    /* get group */
    128128
    129                                 if (E_NULL NE (ep = (struct n_entry *)e_alc(E_SIZE1))) {
     129                                if ((struct n_entry *)E_NULL NE
     130                                        (ep = (struct n_entry *)e_alc(E_SIZE1))) {
    130131
    131132                                        DB_CMNT("ne_end - enter note end");
     
    239240                }
    240241
    241                 if (E_NULL NE (ep = (struct n_entry *)e_alc(E_SIZE1))) {
     242                if ((struct n_entry *)E_NULL NE
     243                        (ep = (struct n_entry *)e_alc(E_SIZE1))) {
    242244
    243245                        DB_CMNT("ne_bgn - enter note begin");
Note: See TracChangeset for help on using the changeset viewer.