Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 25171: /trunk/epan/dissectors/ /trun
From: Guy Harris <[email protected]>
Date: Fri, 25 Apr 2008 12:08:15 -0700
Bill Meier wrote:

I expect that the next buildbot Windows compile of packet-umts_fp will fail (since it does on my Windows system):
packet-umts_fp.c(861) : warning C4244: 'function' : conversion from 
'unsigned __int64 ' to 'unsigned int ', possible
s of data
Generating Code...
NMAKE : fatal error U1077: 'cl' : return code '0x2'
If "credits" is really 11 bits long (i.e., if that call to 
proto_tree_add_bits_ret_val() will never put a value > 2047 into 
"credits"), it could be cast to a guint (with a comment explaining 
this), which should suppress the warning.