GCC 4.7 fixes.

Thanks to Francois Andriot.
(cherry picked from commit f40c4c8419)
v3.5.13-sru
Darrell Anderson 12 years ago committed by Slávek Banko
parent 6a618a74d4
commit 2464051613

@ -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);

Loading…
Cancel
Save