diff options
Diffstat (limited to 'src/ks_osishtml.cpp')
-rw-r--r-- | src/ks_osishtml.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ks_osishtml.cpp b/src/ks_osishtml.cpp index 6bda142..1f4dadc 100644 --- a/src/ks_osishtml.cpp +++ b/src/ks_osishtml.cpp @@ -157,10 +157,10 @@ namespace KioSword { if (type != "strongsMarkup") { // leave strong's markup notes out, in the future we'll probably have different option filters to turn different note types on or off SWBuf footnoteNumber = tag.getAttribute("swordFootnote"); - VerseKey *vkey; + const VerseKey *vkey; // see if we have a VerseKey * or descendant try { - vkey = SWDYNAMIC_CAST(VerseKey, u->key); + vkey = SWDYNAMIC_CAST(const VerseKey, u->key); } catch ( ... ) { } if (vkey) { |