aboutsummaryrefslogtreecommitdiff
path: root/libXpm/src/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXpm/src/data.c')
-rw-r--r--libXpm/src/data.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libXpm/src/data.c b/libXpm/src/data.c
index 347aa46a2..898889c37 100644
--- a/libXpm/src/data.c
+++ b/libXpm/src/data.c
@@ -61,7 +61,8 @@ ParseComment(xpmData *data)
register char c;
register unsigned int n = 0;
unsigned int notend;
- char *s, *s2;
+ char *s;
+ const char *s2;
s = data->Comment;
*s = data->Bcmt[0];
@@ -119,7 +120,8 @@ ParseComment(xpmData *data)
register int c;
register unsigned int n = 0, a;
unsigned int notend;
- char *s, *s2;
+ char *s;
+ const char *s2;
s = data->Comment;
*s = data->Bcmt[0];