From 8f741539a2b8607934c0bd8cfd17a8e09fab44fa Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Tue, 18 Mar 2008 00:15:25 +0000 Subject: [PATCH] char* -> const char* git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@801 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/AmSipDialog.cpp | 2 +- core/AmSipDialog.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/AmSipDialog.cpp b/core/AmSipDialog.cpp index 9d9a70c2..e0d199c3 100644 --- a/core/AmSipDialog.cpp +++ b/core/AmSipDialog.cpp @@ -33,7 +33,7 @@ #include "AmServer.h" #include "sems.h" -char* AmSipDialog::status2str[4] = { +const char* AmSipDialog::status2str[4] = { "Disconnected", "Pending", "Connected", diff --git a/core/AmSipDialog.h b/core/AmSipDialog.h index 135b9d7d..3e0b0f3b 100644 --- a/core/AmSipDialog.h +++ b/core/AmSipDialog.h @@ -111,7 +111,7 @@ class AmSipDialog Disconnecting }; - static char* status2str[4]; + static const char* status2str[4]; string user; // local user string domain; // local domain