From e295694db31983ea75be5061fb728f7d8ab06c09 Mon Sep 17 00:00:00 2001 From: martin-s Date: Tue, 26 Sep 2006 09:08:55 +0000 Subject: [PATCH] segid is signed git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@110 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/src/street.h | 2 +- navit/src/types.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/navit/src/street.h b/navit/src/street.h index 97f59bb..516e686 100644 --- a/navit/src/street.h +++ b/navit/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/navit/src/types.h b/navit/src/types.h index adfc1e5..f9ee6ab 100644 --- a/navit/src/types.h +++ b/navit/src/types.h @@ -2,8 +2,11 @@ #define _TYPES_H_ #include +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 -- 2.7.4