Changeset 4397


Ignore:
Timestamp:
Apr 22, 2010, 3:55:41 PM (10 years ago)
Author:
Sam Hocevar
Message:

On Win32, define 32-bit C99 types as ints instead of longs, because
a lot of software (wrongly) assumes that int32_t is the same as int.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/pipi/pipi_types.h.in

    r2902 r4397  
    4040typedef signed char int8_t;
    4141typedef signed short int16_t;
    42 typedef signed long int int32_t;
     42typedef signed int int32_t;
    4343typedef signed long long int int64_t;
    4444
    4545typedef unsigned char uint8_t;
    4646typedef unsigned short uint16_t;
    47 typedef unsigned long int uint32_t;
     47typedef unsigned int uint32_t;
    4848typedef unsigned long long int uint64_t;
    4949
Note: See TracChangeset for help on using the changeset viewer.