summaryrefslogtreecommitdiffstats
path: root/src/ks_osishtml.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-12-19 16:24:16 +0100
committerSlávek Banko <[email protected]>2020-12-19 16:24:31 +0100
commit9ccda9a5078c892edc91af646908b5a500aa0114 (patch)
tree6218a18886ac8bbb3f2340f56efb1a1da0ebedc9 /src/ks_osishtml.cpp
parentbeed6574a235e874d5b821d36425086ad472691d (diff)
downloadtdeio-sword-9ccda9a5078c892edc91af646908b5a500aa0114.tar.gz
tdeio-sword-9ccda9a5078c892edc91af646908b5a500aa0114.zip
Fix FTBFS with sword 1.9.x.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 3170f80d65103a1876a2f8532a1d70976299f031)
Diffstat (limited to 'src/ks_osishtml.cpp')
-rw-r--r--src/ks_osishtml.cpp4
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) {