From af10d352aa7e04939652dcbd7ec3b743954a468b Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Thu, 22 Mar 2007 00:11:55 +0000 Subject: [PATCH] fix a warning, set CFLAGS to block new warnings svn path=/trunk/; revision=21103 --- plugins/h223/Makefile.nmake | 2 +- plugins/h223/packet-h223.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/h223/Makefile.nmake b/plugins/h223/Makefile.nmake index c280a82517..e8766d5293 100644 --- a/plugins/h223/Makefile.nmake +++ b/plugins/h223/Makefile.nmake @@ -9,7 +9,7 @@ include moduleinfo.nmake include Makefile.common -CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ +CFLAGS=/WX /DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ /I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS) LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) diff --git a/plugins/h223/packet-h223.c b/plugins/h223/packet-h223.c index 9f9bde5997..1543dfd1d7 100644 --- a/plugins/h223/packet-h223.c +++ b/plugins/h223/packet-h223.c @@ -1222,7 +1222,7 @@ static gint dissect_mux_pdu_fragment( tvbuff_t *tvb, guint32 start_offset, packe #ifdef DEBUG_H223_FRAGMENTATION g_debug("\tBailing, requesting %i-%i=%u more bytes", pdu_minlen,(offset-start_offset),needed); #endif - return -needed; + return - (gint) needed; } }