次の問題があります。コードは次のようになります。
import binascii, struct
def crc32up(data):
# little endian!!
bin = struct.pack ('<I', binascii.crc32 (data))
return string.upper (binascii.hexlify (bin))
# Generate crc of time code.
#
timecrc_code = crc32up(time_code)
警告は次のとおりです。
DeprecationWarning: struct integer overflow masking is deprecated
timecrc_code = crc32up(time_code)
このエラーの原因は何ですか?