diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2006-09-26 09:08:55 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2006-09-26 09:08:55 +0000 |
commit | 67329dae128a4ef284e68ba63b2456a222143d66 (patch) | |
tree | 8353b53428f4477155a1bd05ba1bb83e8954de16 /src | |
parent | ccb6f727c94ff76c85f16d287bf689a8e243a824 (diff) | |
download | navit-67329dae128a4ef284e68ba63b2456a222143d66.tar.gz |
segid is signed
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@110 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'src')
-rw-r--r-- | src/street.h | 2 | ||||
-rw-r--r-- | src/types.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/street.h b/src/street.h index 97f59bbba..516e6865f 100644 --- a/src/street.h +++ b/src/street.h @@ -17,7 +17,7 @@ struct street_type { } __attribute__((packed)); struct street_str { - u32 segid; + s32 segid; u8 limit; /* 0x03,0x30=One Way,0x33=No Passing */ u8 unknown2; u8 unknown3; diff --git a/src/types.h b/src/types.h index adfc1e57c..f9ee6abd3 100644 --- a/src/types.h +++ b/src/types.h @@ -2,8 +2,11 @@ #define _TYPES_H_ #include <stdint.h> +typedef int8_t s8; typedef uint8_t u8; +typedef int16_t s16; typedef uint16_t u16; +typedef int32_t s32; typedef uint32_t u32; #endif |