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

    r0292fbb r7258c6a  
    88#include "ctype.h"
    99
    10 int memcmpu(void *vp1, void *vp2, int n)
     10int16_t memcmpu(void *vp1, void *vp2, int16_t n)
    1111{
    12         char *cp1 = vp1;
    13         char *cp2 = vp2;
    14         register char c1, c2;
     12        int8_t *cp1 = vp1;
     13        int8_t *cp2 = vp2;
     14        register int8_t c1, c2;
    1515
    1616        while (n) {
Note: See TracChangeset for help on using the changeset viewer.