summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/windows/questswindow.cpp1
-rw-r--r--src/utils/virtfsrwops.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp
index 0ea451f1f..bf3b1c19a 100644
--- a/src/gui/windows/questswindow.cpp
+++ b/src/gui/windows/questswindow.cpp
@@ -85,6 +85,7 @@ QuestsWindow::QuestsWindow() :
mAllEffects(nullptr),
mNpcEffects(),
mQuestLinks(),
+ mQuestReverseLinks(),
mNewQuestEffectId(paths.getIntValue("newQuestEffectId")),
mCompleteQuestEffectId(paths.getIntValue("completeQuestEffectId")),
mMap(nullptr)
diff --git a/src/utils/virtfsrwops.cpp b/src/utils/virtfsrwops.cpp
index 3587af5fe..ade942385 100644
--- a/src/utils/virtfsrwops.cpp
+++ b/src/utils/virtfsrwops.cpp
@@ -215,7 +215,7 @@ static RWOPSINT virtfsrwops_seek(SDL_RWops *const rw,
} /* virtfsrwops_seek */
static RWOPSSIZE virtfsrwops_read(SDL_RWops *const rw,
- void *ptr,
+ void *const ptr,
const RWOPSSIZE size,
const RWOPSSIZE maxnum)
{
@@ -239,7 +239,7 @@ static RWOPSSIZE virtfsrwops_read(SDL_RWops *const rw,
} /* virtfsrwops_read */
static RWOPSSIZE virtfsrwops_write(SDL_RWops *const rw,
- const void *ptr,
+ const void *const ptr,
const RWOPSSIZE size,
const RWOPSSIZE num)
{