diff options
author | Frederik Gladhorn <[email protected]> | 2013-10-02 18:08:49 +0200 |
---|---|---|
committer | The Qt Project <[email protected]> | 2013-10-04 01:19:38 +0200 |
commit | f191fe7cab5a049d484b15fa65b3ffd7ee18c27b (patch) | |
tree | 663210a1376388338d7d3933ba463bc03a11d571 /src/tools/qdoc/node.cpp | |
parent | 1c1771effc8b4ebdb5532bdfef063d292407f8c0 (diff) |
Fix potential crash: adding int to string
qtbase/tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp:652:36: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
f.write(QByteArray("i am " + i));
~~~~~~~~^~~
qtbase/tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp:652:36: note: use array indexing to silence this warning
f.write(QByteArray("i am " + i));
^
& [ ]
Change-Id: Icc966559be3c2cde3416193b8a1ddab7e0323ade
Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/tools/qdoc/node.cpp')
0 files changed, 0 insertions, 0 deletions