提交 4f4ba4c0 编写于 作者: R Rich Felker

fix broken bswap_32

上级 0729fd9f
......@@ -3,5 +3,5 @@
uint32_t bswap_32(uint32_t x)
{
return x>>24 | x>>16&0xff00 | x<<16&0xff0000 | x<<24;
return x>>24 | x>>8&0xff00 | x<<8&0xff0000 | x<<24;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册