Start fixing npm test warnings.

This commit is contained in:
Gunther Brunner
2015-10-13 21:21:32 +09:00
parent 78839ba2e4
commit 342890e884
4 changed files with 6 additions and 4 deletions

View File

@@ -2,7 +2,8 @@ var crypto = require('crypto')
// See http://graphics.stanford.edu/~seander/bithacks.html#ReverseByteWith32Bits
function reverseByteBits(b) {
return ((b * 0x0802 & 0x22110) | (b * 0x8020 & 0x88440)) * 0x10101 >> 16 & 0xFF
return (((b * 0x0802 & 0x22110) |
(b * 0x8020 & 0x88440)) * 0x10101 >> 16 & 0xFF)
}
function reverseBufferByteBits(b) {