Changeset 7258c6a in buchla-68k for lib700/ispow2.c


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

Use standard integer types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib700/ispow2.c

    r0292fbb r7258c6a  
    1313#include "stddefs.h"
    1414
    15 short ispow2(long x)
     15int16_t ispow2(int32_t x)
    1616{
    17         register short i;
    18         register long k;
     17        register int16_t i;
     18        register int32_t k;
    1919
    2020        k = 0x00000001L;                /* setup the bit mask in k */
Note: See TracChangeset for help on using the changeset viewer.