diff options
author | Darrell Anderson <[email protected]> | 2012-05-01 08:36:44 -0500 |
---|---|---|
committer | Darrell Anderson <[email protected]> | 2012-05-01 08:36:44 -0500 |
commit | f40c4c84193cee13ec5c3c675193052106875a2f (patch) | |
tree | 87e40c8da87db47bef54ad75ed08125f47421f3c | |
parent | 24e857526cbaf33f52ef89942f54994de2474875 (diff) | |
download | bibletime-f40c4c84193cee13ec5c3c675193052106875a2f.tar.gz bibletime-f40c4c84193cee13ec5c3c675193052106875a2f.zip |
GCC 4.7 fixes.
Thanks to Francois Andriot.
-rw-r--r-- | bibletime/frontend/cinfodisplay.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bibletime/frontend/cinfodisplay.cpp b/bibletime/frontend/cinfodisplay.cpp index 7321a83..251ec83 100644 --- a/bibletime/frontend/cinfodisplay.cpp +++ b/bibletime/frontend/cinfodisplay.cpp @@ -229,8 +229,8 @@ namespace InfoDisplay { VerseKey vk; sword::ListKey refs = vk.ParseVerseList((const char*)data.mid((pos == -1) ? 0 : pos+1).utf8(), "Gen 1:1", true); - for (int i = 0; i < refs.Count(); ++i) { - SWKey* key = refs.getElement(i); + for (int j = 0; j < refs.Count(); ++j) { + SWKey* key = refs.getElement(j); Q_ASSERT(key); VerseKey* vk = dynamic_cast<VerseKey*>(key); |