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

来源:互联网 发布:知到智慧树网络课程 编辑:程序博客网 时间:2024/06/05 18:39
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