Changeset 7258c6a in buchla-68k for libcio/getbuff.c


Ignore:
Timestamp:
07/09/2017 04:45:34 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
8618599
Parents:
0292fbb
Message:

Use standard integer types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcio/getbuff.c

    r0292fbb r7258c6a  
    1111void getbuff(FILE *ptr)
    1212{
    13         char *buffer;
     13        int8_t *buffer;
    1414
    1515        if (ptr->_buflen EQ 1) {        /* see if we want the small buffer */
     
    2121        if (Stdbufs) {          /* see if we have any standard buffers left */
    2222
    23                 buffer = (char *)Stdbufs;
    24                 Stdbufs = *(long **)Stdbufs;
     23                buffer = (int8_t *)Stdbufs;
     24                Stdbufs = *(int32_t **)Stdbufs;
    2525
    2626        } else {                /* ... if not, use the small one */
Note: See TracChangeset for help on using the changeset viewer.