Wireshark-dev: Re: [Wireshark-dev] SVN 22981 Windows build broken
From: "Anders Broman" <anders.broman@xxxxxxxxxxxx>
Date: Wed, 26 Sep 2007 09:09:11 +0200
Hi,
I guess the problem is that the result of option_len - 3 in this
expressionj would be negative...

		if (option_len > 3)	/* could be empty Confirm */
			proto_item_append_text(dcp_item, " %"
G_GINT64_MODIFIER "u", 
				tvb_get_ntoh_var(tvb, offset + 3,
option_len - 3));
	
-^-
		break;

Regards
Anders
 

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Maynard, Chris
Sent: den 26 september 2007 06:54
To: wireshark-dev@xxxxxxxxxxxxx
Subject: [Wireshark-dev] SVN 22981 Windows build broken

Microsoft (R) Program Maintenance Utility   Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
        cl -DWIN32 -DNULL=0 -D_MT -D_DLL -WX -DHAVE_CONFIG_H /I. /I..
/I../.. /I C:\wireshark-win32-libs\glib\include\glib-2.0
/IC:\wireshark-win32-libs\glib\li b\glib-2.0\include
/IC:\wireshark-win32-libs\zlib123\include  /IC:\wireshark-wi
n32-libs\pcre-6.4\include
/IC:\wireshark-win32-libs\gnutls-1.6.1-1\include /DNOC
RYPT   /IC:\wireshark-win32-libs\kfw-2.5\inc
/IC:\wireshark-win32-libs\WPdpack
\include -D_U_="" /Zi /W3 /MD -Fd.\ -c packet-dcp.c Microsoft (R) 32-bit
C/C++ Optimizing Compiler Version 12.00.8804 for 80x86 Copyright (C)
Microsoft Corp 1984-1998. All rights reserved.
packet-dcp.c
packet-dcp.c(438) : warning C4761: integral size mismatch in argument;
conversio n supplied
packet-dcp.c(438) : error C2220: warning treated as error - no object
file gener ated
packet-dcp.c(336) : warning C4761: integral size mismatch in argument;
conversio n supplied NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio\VC98\Bin\N MAKE.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio\VC98\Bin\N MAKE.EXE"' : return code '0x2'
Stop.
 
 
- Chris
 
 

-----------------------------------------
This email may contain confidential and privileged material for the sole
use of the intended recipient(s). Any review, use, retention,
distribution or disclosure by others is strictly prohibited. If you are
not the intended recipient (or authorized to receive for the recipient),
please contact the sender by reply email and delete all copies of this
message. Also, email is susceptible to data corruption, interception,
tampering, unauthorized amendment and viruses. We only send and receive
emails on the basis that we are not liable for any such corruption,
interception, tampering, amendment or viruses or any consequence
thereof.
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev