aboutsummaryrefslogtreecommitdiffstats
path: root/epan/sigcomp_state_hdlr.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2007-03-22 00:40:04 +0000
committerUlf Lamping <ulf.lamping@web.de>2007-03-22 00:40:04 +0000
commit3e3259771947b9c31d0aeec0835d1469bd4dc524 (patch)
tree48f665841ee752dab170157cf6f13a1b7cdbfb16 /epan/sigcomp_state_hdlr.c
parentaf10d352aa7e04939652dcbd7ec3b743954a468b (diff)
fix some more warnings
svn path=/trunk/; revision=21104
Diffstat (limited to 'epan/sigcomp_state_hdlr.c')
-rw-r--r--epan/sigcomp_state_hdlr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/sigcomp_state_hdlr.c b/epan/sigcomp_state_hdlr.c
index bc9550e6b0..26e01f4e10 100644
--- a/epan/sigcomp_state_hdlr.c
+++ b/epan/sigcomp_state_hdlr.c
@@ -546,7 +546,7 @@ int udvm_state_access(tvbuff_t *tvb, proto_tree *tree,guint8 *buff,guint16 p_id_
/* debug
*g_warning(" state_begin %u state_address %u",state_begin , *state_address);
*/
- while ( n < (state_begin + *state_length + 8) && n < UDVM_MEMORY_SIZE ){
+ while ( (gint32) n < (state_begin + *state_length + 8) && n < UDVM_MEMORY_SIZE ){
buff[k] = state_buff[n];
/* debug
g_warning(" Loading 0x%x at address %u",buff[k] , k);