From 59fbe1da2246e3bf250b914771bf6ded8eae1d18 Mon Sep 17 00:00:00 2001
From: Richard Barry <ribarry@amazon.com>
Date: Tue, 2 Aug 2011 09:45:12 +0000
Subject: [PATCH] Fix a few compiler warnings in utils when compiled with GCC.

---
 Demo/Common/Utils/CommandInterpreter.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/Demo/Common/Utils/CommandInterpreter.c b/Demo/Common/Utils/CommandInterpreter.c
index deba129612..9001d549e7 100644
--- a/Demo/Common/Utils/CommandInterpreter.c
+++ b/Demo/Common/Utils/CommandInterpreter.c
@@ -51,8 +51,14 @@
     licensing and training services.
 */
 
+/* Standard includes. */
+#include <string.h>
+
+/* FreeRTOS includes. */
 #include "FreeRTOS.h"
 #include "task.h"
+
+/* Utils includes. */
 #include "CommandInterpreter.h"
 
 typedef struct xCOMMAND_INPUT_LIST
@@ -71,8 +77,8 @@ static const signed char *prvHelpCommand( void );
 of the list of registered commands. */
 static const xCommandLineInput xHelpCommand = 
 {
-	"help",
-	"help: Lists all the registered commands\r\n",
+	( const signed char * const ) "help",
+	( const signed char * const ) "help: Lists all the registered commands\r\n",
 	prvHelpCommand
 };
 
@@ -163,7 +169,7 @@ signed const char *pcReturn = NULL;
 	}
 	else
 	{
-		pcReturn = "Command not recognised.  Available commands are listed below.\r\n\r\n";
+		pcReturn = ( const signed char * const ) "Command not recognised.  Available commands are listed below.\r\n\r\n";
 
 		/* Print out the help string. */
 		pxCommand = &xRegisteredCommands;