| Attached Files | patch.txt [^] (1,443 bytes) 1969-12-31 19:00 [Show Content] [Hide Content]Index: Source/igstkNDICommandInterpreter.cxx
===================================================================
RCS file: /cvsroot/IGSTK/IGSTK/Source/igstkNDICommandInterpreter.cxx,v
retrieving revision 1.25
diff -u -3 -p -r1.25 igstkNDICommandInterpreter.cxx
--- Source/igstkNDICommandInterpreter.cxx 21 Sep 2006 05:57:49 -0000 1.25
+++ Source/igstkNDICommandInterpreter.cxx 9 Oct 2006 20:21:31 -0000
@@ -328,7 +328,7 @@ int NDICommandInterpreter::GetError() co
/** Get a string that describes an error value. */
const char* NDICommandInterpreter::ErrorString(int errnum)
{
- static char* textarrayLow[] = /* values from 0x01 to 0x23 */
+ static const char* textarrayLow[] = /* values from 0x01 to 0x23 */
{
"No error",
"Invalid command",
@@ -400,7 +400,7 @@ const char* NDICommandInterpreter::Error
"Feature not available",
};
- static char* textarrayHigh[] = /* values from 0xf6 to 0xf4 */
+ static const char* textarrayHigh[] = /* values from 0xf6 to 0xf4 */
{
"Too much environmental infrared",
"Unrecognized error code",
@@ -410,7 +410,7 @@ const char* NDICommandInterpreter::Error
"Unable to erase Flash EPROM"
};
- static char* textarrayApi[] = /* values specific to the API */
+ static const char* textarrayApi[] = /* values specific to the API */
{
"Bad CRC on reply from Measurement System",
"Error opening serial connection",
|