diff options
Diffstat (limited to 'common/parse.h')
-rw-r--r-- | common/parse.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/parse.h b/common/parse.h index 513868b5..20317157 100644 --- a/common/parse.h +++ b/common/parse.h @@ -160,7 +160,7 @@ struct stream #if defined(B_ENDIAN) || defined(NEED_ALIGN) #define in_uint32_le(s, v) \ { \ - v = (unsigned long) \ + v = (unsigned int) \ ( \ (*((unsigned char*)(s->p + 0)) << 0) | \ (*((unsigned char*)(s->p + 1)) << 8) | \ @@ -172,7 +172,7 @@ struct stream #else #define in_uint32_le(s, v) \ { \ - v = *((unsigned long*)(s->p)); \ + v = *((unsigned int*)(s->p)); \ s->p += 4; \ } #endif @@ -242,7 +242,7 @@ struct stream #else #define out_uint32_le(s, v) \ { \ - *((unsigned long*)(s->p)) = (v); \ + *((unsigned int*)(s->p)) = (v); \ s->p += 4; \ } #endif |