diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-11-08 14:59:55 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-11-08 14:59:55 -0800 |
commit | c2dc40d42a0f88465861f0fc26a5f47552970e58 (patch) | |
tree | f540fd7a4a8bda79ca2595d921da71deb5b91d0d /src | |
parent | 504b1a981cf6d0d560a1160b106a1b49eaea4cd7 (diff) | |
download | binaryen-c2dc40d42a0f88465861f0fc26a5f47552970e58.tar.gz binaryen-c2dc40d42a0f88465861f0fc26a5f47552970e58.tar.bz2 binaryen-c2dc40d42a0f88465861f0fc26a5f47552970e58.zip |
fix printing
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm.h b/src/wasm.h index a8a6b8149..9ed89df55 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -154,7 +154,7 @@ struct Literal { uint32_t ll; } u; u.ff = f; - o << "nan:" << std::hex << u.ll; + o << "nan:" << std::hex << u.ll << std::dec; return; } printDouble(o, f); @@ -171,7 +171,7 @@ struct Literal { uint64_t ll; } u; u.dd = d; - o << "nan:" << std::hex << u.ll; + o << "nan:" << std::hex << u.ll << std::dec; return; } const char *text = cashew::JSPrinter::numToString(d); |