aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/tests/tst_machine.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-06-26 16:46:49 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-06-26 16:46:49 +0200
commit33fe4041f8fb9ef05cf946dae87a71005e7c72f7 (patch)
tree6fe5e19e0e30359929947397a3fc431b70ec733a /qtmips_machine/tests/tst_machine.h
parent473b28e10956e022b8c809a09283f3581af917a2 (diff)
downloadqtmips-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/tst_machine.h')
0 files changed, 0 insertions, 0 deletions