From e5ece18ee7804ed81f1b0f80af30a9aea8320522 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 20 Sep 2013 21:07:50 -0400 Subject: Readonlyize many commands --- modules/commands/ms_check.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/ms_check.cpp') 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(&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 */ -- cgit