diff options
author | jsorg71 <jsorg71> | 2005-03-08 03:31:14 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2005-03-08 03:31:14 +0000 |
commit | 777893bdd6f4e98f2074ccc3b9f0d890bc2ac387 (patch) | |
tree | 5656cc89ac1a64461ce5ba31f28ac896f2362c3a /common/parse.h | |
parent | d5dea39bafc3440b1726cf90a8295ecb393e059c (diff) | |
download | xrdp-proprietary-777893bdd6f4e98f2074ccc3b9f0d890bc2ac387.tar.gz xrdp-proprietary-777893bdd6f4e98f2074ccc3b9f0d890bc2ac387.zip |
some ints should be long
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 |