diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sm_manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sm_manager.c b/src/sm_manager.c index c75764f..51ac548 100644 --- a/src/sm_manager.c +++ b/src/sm_manager.c @@ -76,7 +76,7 @@ _SmsProtocolSetupProc (IceConn iceConn, if ((smsConn = (SmsConn) malloc (sizeof (struct _SmsConn))) == NULL) { - char *str = "Memory allocation failed"; + const char *str = "Memory allocation failed"; if ((*failureReasonRet = (char *) malloc (strlen (str) + 1)) != NULL) strcpy (*failureReasonRet, str); |