kripken/emscripten — pull request #556 by mnaamani (2012-09-03 20:47:17+00:00)
Title: Incoming

htonl() implementation incorrect. Test tests/runner.py passes because it doesn't test for case when sign bit is set. Corrected implementation to use >>> bit shift operator instead of >> bit shift operator.

ref: https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Operators/Bitwise_Operators