diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-08-19 13:04:35 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-08-19 13:04:35 +0200 |
commit | 7d9ad618842dc16177844746dfe83126722f0c37 (patch) | |
tree | 0639aa1d81150c17f3b20530ad2538f8d325ddae /runtime/stream.h | |
parent | dfc2b538ecdcd70a2ae091ad529a4972a91e3aa1 (diff) | |
parent | 16fb5cd701d4c12f8ad573dde8ff52c9eaecb79f (diff) | |
download | rsyslog-7d9ad618842dc16177844746dfe83126722f0c37.tar.gz rsyslog-7d9ad618842dc16177844746dfe83126722f0c37.tar.xz rsyslog-7d9ad618842dc16177844746dfe83126722f0c37.zip |
Merge branch 'beta'
Diffstat (limited to 'runtime/stream.h')
-rw-r--r-- | runtime/stream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/stream.h b/runtime/stream.h index c251e5c4..9577d704 100644 --- a/runtime/stream.h +++ b/runtime/stream.h @@ -131,8 +131,8 @@ typedef struct strm_s { pthread_cond_t notFull; pthread_cond_t notEmpty; pthread_cond_t isEmpty; - short iEnq; - short iDeq; + unsigned short iEnq; /* this MUST be unsigned as we use module arithmetic (else invalid indexing happens!) */ + unsigned short iDeq; /* this MUST be unsigned as we use module arithmetic (else invalid indexing happens!) */ short iCnt; /* current nbr of elements in buffer */ struct { uchar *pBuf; |