Get rid of a warning in gcc 4.3: An integer overflow will not cause a sign change

svn path=/trunk/; revision=25020
This commit is contained in:
Jörg Mayer 2008-04-14 19:30:35 +00:00
parent 39bcbdc87d
commit 6935e50369
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ static int amqp_port = 5672;
int tmp;\
tmp = offset;\
offset += (addend);\
DISSECTOR_ASSERT(offset >= tmp && offset <= bound);\
DISSECTOR_ASSERT(offset <= bound);\
}
#define AMQP_FRAME_TYPE_METHOD 1