Changeset b5b602e in buchla-68k


Ignore:
Timestamp:
11/12/2017 10:02:34 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
a3c602f
Parents:
602f9b5
Message:

Fixed eticnf.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/eticnf.c

    r602f9b5 rb5b602e  
    4949                return(FAILURE);
    5050
    51         vbufs[curvce].idhcfg = tmpval;
     51        vbufs[curvce].idhcfg = (int8_t)tmpval;
    5252        dosync(curvce);
    5353        showcfg(tmpval);
     
    8686
    8787        ec = stccol - cfetp->flcol;     /* setup edit buffer column */
    88         ebuf[ec] = k + '0';             /* enter new data in buffer */
     88        ebuf[ec] = (int8_t)(k + '0');   /* enter new data in buffer */
    8989        ebuf[2] = '\0';                 /* make sure string is terminated */
    9090
    91         dspbuf[0] = k + '0';            /* setup for display */
     91        dspbuf[0] = (int8_t)(k + '0');  /* setup for display */
    9292        dspbuf[1] = '\0';
    9393
Note: See TracChangeset for help on using the changeset viewer.