diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2020-12-19 16:24:16 +0100 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2020-12-19 16:24:31 +0100 |
| commit | 9ccda9a5078c892edc91af646908b5a500aa0114 (patch) | |
| tree | 6218a18886ac8bbb3f2340f56efb1a1da0ebedc9 /src/ks_gbfhtml.cpp | |
| parent | beed6574a235e874d5b821d36425086ad472691d (diff) | |
| download | tdeio-sword-9ccda9a5.tar.gz tdeio-sword-9ccda9a5.zip | |
Fix FTBFS with sword 1.9.x.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 3170f80d65103a1876a2f8532a1d70976299f031)
Diffstat (limited to 'src/ks_gbfhtml.cpp')
| -rw-r--r-- | src/ks_gbfhtml.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ks_gbfhtml.cpp b/src/ks_gbfhtml.cpp index f8f2a8d..f31ce7a 100644 --- a/src/ks_gbfhtml.cpp +++ b/src/ks_gbfhtml.cpp @@ -176,10 +176,10 @@ namespace KioSword { else if (!strcmp(tag.getName(), "RF")) { SWBuf type = tag.getAttribute("type"); 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) { |
