diff options
author | jsorg71 <jsorg71> | 2006-10-12 03:49:15 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2006-10-12 03:49:15 +0000 |
commit | 2671ea4f911556efb4120e066abb57aa110b443f (patch) | |
tree | 811fe1111e18a9d04984651318595ae092bc99a2 /common/parse.h | |
parent | 310c705de599c2ebb443017becbd5aac89d29b93 (diff) | |
download | xrdp-proprietary-2671ea4f911556efb4120e066abb57aa110b443f.tar.gz xrdp-proprietary-2671ea4f911556efb4120e066abb57aa110b443f.zip |
added in_sint8
Diffstat (limited to 'common/parse.h')
-rw-r--r-- | common/parse.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/parse.h b/common/parse.h index 3718e9cc..5c7e50ba 100644 --- a/common/parse.h +++ b/common/parse.h @@ -112,6 +112,13 @@ struct stream } /******************************************************************************/ +#define in_sint8(s, v) \ +{ \ + (v) = *((signed char*)((s)->p)); \ + (s)->p++; \ +} + +/******************************************************************************/ #define in_uint8(s, v) \ { \ (v) = *((unsigned char*)((s)->p)); \ |