diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2012-09-27 14:31:12 +0200 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-27 23:51:30 +0200 |
| commit | f9547c89ea9fd0e6d571db840c5cadab079df607 (patch) | |
| tree | 6f408928dd85bc758a5b264595490872b563dfc0 /src/tools/qdoc/cppcodeparser.cpp | |
| parent | b0a7974c6af1e81876caf52602e5c9be7dde5077 (diff) | |
QPostEventList: change pointer comparison to integer comparison
This is exactly the type of pointer arithmetics that GCC likes to
miscompile.
Just use offset >= size() (=subtract begin() from both sides).
Change-Id: Ifb13652d7b96bf4c06727d9c965516e95d16ab5c
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/tools/qdoc/cppcodeparser.cpp')
0 files changed, 0 insertions, 0 deletions
