Changeset 7258c6a in buchla-68k for libsm/strchr.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
  • libsm/strchr.c

    r0292fbb r7258c6a  
    1010#define NULL    0
    1111
    12 char *strchr(char *sp, char c)
     12int8_t *strchr(int8_t *sp, int8_t c)
    1313{
    1414        do {
     
    1717        } while(*sp++);
    1818
    19         return((char *)NULL);
     19        return((int8_t *)NULL);
    2020}
     21
Note: See TracChangeset for help on using the changeset viewer.