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. _______________________________________________ Wireshark-dev mailing list [email protected] http://www.wireshark.org/mailman/listinfo/wireshark-dev
