summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/libgroupwise
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/groupwise/libgroupwise')
-rw-r--r--kopete/protocols/groupwise/libgroupwise/rtf.cc2
-rw-r--r--kopete/protocols/groupwise/libgroupwise/rtf.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/rtf.cc b/kopete/protocols/groupwise/libgroupwise/rtf.cc
index eb5da80e..14a3005a 100644
--- a/kopete/protocols/groupwise/libgroupwise/rtf.cc
+++ b/kopete/protocols/groupwise/libgroupwise/rtf.cc
@@ -2235,7 +2235,7 @@ void Level::setText(const char *str)
FontDef& def = p->fonts[m_nFont-1];
- char *pp = strchr(str, ';');
+ const char *pp = strchr(str, ';');
unsigned size;
if (pp != NULL)
size = (pp - str);
diff --git a/kopete/protocols/groupwise/libgroupwise/rtf.ll b/kopete/protocols/groupwise/libgroupwise/rtf.ll
index 37ebd9a3..67e9f5f5 100644
--- a/kopete/protocols/groupwise/libgroupwise/rtf.ll
+++ b/kopete/protocols/groupwise/libgroupwise/rtf.ll
@@ -570,7 +570,7 @@ void Level::setText(const char *str)
FontDef& def = p->fonts[m_nFont-1];
- char *pp = strchr(str, ';');
+ const char *pp = strchr(str, ';');
unsigned size;
if (pp != NULL)
size = (pp - str);