summaryrefslogtreecommitdiff
path: root/modules/commands/ms_check.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ms_check.cpp')
-rw-r--r--modules/commands/ms_check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ms_check.cpp b/modules/commands/ms_check.cpp
index b912777fe..452a0f337 100644
--- a/modules/commands/ms_check.cpp
+++ b/modules/commands/ms_check.cpp
@@ -34,7 +34,7 @@ class CommandMSCheck : public Command
return;
}
- MemoInfo *mi = const_cast<MemoInfo *>(&na->nc->memos);
+ MemoInfo *mi = &na->nc->memos;
/* Okay, I know this looks strange but we wanna get the LAST memo, so we
have to loop backwards */