diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-06-26 16:46:49 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-06-26 16:46:49 +0200 |
commit | 33fe4041f8fb9ef05cf946dae87a71005e7c72f7 (patch) | |
tree | 6fe5e19e0e30359929947397a3fc431b70ec733a /qtmips_machine/tests/testinstruction.cpp | |
parent | 473b28e10956e022b8c809a09283f3581af917a2 (diff) | |
download | qtmips-33fe4041f8fb9ef05cf946dae87a71005e7c72f7.tar.gz qtmips-33fe4041f8fb9ef05cf946dae87a71005e7c72f7.tar.bz2 qtmips-33fe4041f8fb9ef05cf946dae87a71005e7c72f7.zip |
Convert QString to C string character by character, std::strtol{l} fails under some circumstances.
It seems that under Emscripten build and sometimes even under Windows
build the conversion QString.toLatin1().data() does not guarantee
well formed null terminated C string.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/tests/testinstruction.cpp')
0 files changed, 0 insertions, 0 deletions