summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_painter.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-06-21 16:30:17 -0700
committerPavel Roskin <plroskin@gmail.com>2016-07-08 04:29:42 +0000
commitaeeb3d2c2e26677758a64db496c86020f99d2f1a (patch)
tree3337017e28744427743d447d4735c00537783321 /xrdp/xrdp_painter.c
parenta680d46edf747ec17456b6b8e69c95bc4e4407cb (diff)
downloadxrdp-proprietary-aeeb3d2c2e26677758a64db496c86020f99d2f1a.tar.gz
xrdp-proprietary-aeeb3d2c2e26677758a64db496c86020f99d2f1a.zip
Fix warnings detected by -Wwrite-strings
Diffstat (limited to 'xrdp/xrdp_painter.c')
-rw-r--r--xrdp/xrdp_painter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xrdp/xrdp_painter.c b/xrdp/xrdp_painter.c
index 4b36b1ea..f5605717 100644
--- a/xrdp/xrdp_painter.c
+++ b/xrdp/xrdp_painter.c
@@ -262,7 +262,7 @@ xrdp_painter_rop(int rop, int src, int dst)
/*****************************************************************************/
int APP_CC
-xrdp_painter_text_width(struct xrdp_painter *self, char *text)
+xrdp_painter_text_width(struct xrdp_painter *self, const char *text)
{
int index;
int rv;
@@ -299,7 +299,7 @@ xrdp_painter_text_width(struct xrdp_painter *self, char *text)
/*****************************************************************************/
int APP_CC
-xrdp_painter_text_height(struct xrdp_painter *self, char *text)
+xrdp_painter_text_height(struct xrdp_painter *self, const char *text)
{
int index;
int rv;