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

    r0292fbb r7258c6a  
    66*/
    77
    8 static int bitmask[] = {
     8static int16_t bitmask[] = {
    99
    1010        0x0001, 0x0002, 0x0004, 0x0008,
     
    2222*/
    2323
    24 int bitrev(int bitsin, int nbits)
     24int16_t bitrev(int16_t bitsin, int16_t nbits)
    2525{
    26         int     m, n;
     26        int16_t m, n;
    2727
    2828        n = 0;
Note: See TracChangeset for help on using the changeset viewer.