Anybody know how to squelch these Python warnings:
python ncp2222.py -o packet-ncp2222.c
ncp2222.py:2267: FutureWarning: hex/oct constants > sys.maxint will return
positive values in Python 2.4 and up
InfoFlags = bitfield32("info_flags", "Info Flags", [
ncp2222.py:2277: FutureWarning: hex/oct constants > sys.maxint will return
positive values in Python 2.4 and up
InfoMask = bitfield32("info_mask", "Information Mask", [
ncp2222.py:3644: FutureWarning: hex/oct constants > sys.maxint will return
positive values in Python 2.4 and up
StatusFlagBits = bitfield32("status_flag_bits", "Status Flag", [
Processing NCP definitions...
Defined 505 NCP types.
ncp2222.py:7749: FutureWarning: %u/%o/%x/%X of negative int will return a signed
string in Python 2.4 and up
print "\t{ \"%s\", \"%s\", %s, %s, %s, 0x%x, \"\", HFILL }},\n" % \
Gisle V.
There are only 10 types of people in this world...
those who understand binary, and those who don't.