GCC 4.7 fixes.

Thanks to Francois Andriot.
r14.0.x
Darrell Anderson 13 years ago
parent 24e857526c
commit f40c4c8419

@ -229,8 +229,8 @@ namespace InfoDisplay {
VerseKey vk; VerseKey vk;
sword::ListKey refs = vk.ParseVerseList((const char*)data.mid((pos == -1) ? 0 : pos+1).utf8(), "Gen 1:1", true); 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) { for (int j = 0; j < refs.Count(); ++j) {
SWKey* key = refs.getElement(i); SWKey* key = refs.getElement(j);
Q_ASSERT(key); Q_ASSERT(key);
VerseKey* vk = dynamic_cast<VerseKey*>(key); VerseKey* vk = dynamic_cast<VerseKey*>(key);

Loading…
Cancel
Save