现在的位置: 首页 > 综合 > 正文

busybox-1.19.3 编译错误include/archive.h:17: warning: integer overflow in expression

2013年03月04日 ⁄ 综合 ⁄ 共 365字 ⁄ 字号 评论关闭

include/archive.h:17: warning: integer overflow in expression

Only shown on big endian architectures. Probably best to replace
     17         XZ_MAGIC1a  = ((0xfd * 256 + '7') * 256 + 'z') * 256 + 'X',
with XZ_MAGIC1a = 0xFD377A58UL directly instead.

The little endian case is probably fine because 0xFD has bit7 on, 'X' off.

参考:http://mobile.google.com/group/linux.debian.maint.boot/msg/6541be32f1c6679a?dmode=source

抱歉!评论已关闭.