diff options
author | JF Bastien <jfb@chromium.org> | 2016-03-28 12:52:56 -0700 |
---|---|---|
committer | JF Bastien <jfb@chromium.org> | 2016-03-28 12:52:56 -0700 |
commit | e34634c2448d0de88284ec01356e8cb98af54ada (patch) | |
tree | 2fa2e2d23ebc062d7d848e877316ddeb8583a61f /src/emscripten-optimizer/snprintf.h | |
parent | b8d01b47e5f53a92cd5db528d1939462f919d5f6 (diff) | |
download | binaryen-e34634c2448d0de88284ec01356e8cb98af54ada.tar.gz binaryen-e34634c2448d0de88284ec01356e8cb98af54ada.tar.bz2 binaryen-e34634c2448d0de88284ec01356e8cb98af54ada.zip |
Tighten safe integer
#282 removed the assert, but the code didn't handle negative -> unsigned conversion properly, and doesn't behave well with -0.0. I'm not super comfortable with 64-bit int min / max to double conversions either, but that'll be for another patch.
Diffstat (limited to 'src/emscripten-optimizer/snprintf.h')
0 files changed, 0 insertions, 0 deletions