From cd00e66867bb9aa9cd473dce22e808a95b0a59e8 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 26 Mar 2011 23:22:50 +0000 Subject: Ensure external text strings are declared as const, to fix compile error on MSVC 2010. --- bin/bbackupquery/BackupQueries.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/bbackupquery') diff --git a/bin/bbackupquery/BackupQueries.cpp b/bin/bbackupquery/BackupQueries.cpp index aea6c896..edeeb034 100644 --- a/bin/bbackupquery/BackupQueries.cpp +++ b/bin/bbackupquery/BackupQueries.cpp @@ -1995,8 +1995,8 @@ void BackupQueries::CommandRestore(const std::vector &args, const b // These are autogenerated by a script. -extern char *help_commands[]; -extern char *help_text[]; +extern const char *help_commands[]; +extern const char *help_text[]; // -------------------------------------------------------------------------- -- cgit v1.2.3