summaryrefslogtreecommitdiffstats
path: root/src/ks_gbfhtml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ks_gbfhtml.cpp')
-rw-r--r--src/ks_gbfhtml.cpp4
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) {