aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/test/xfree86.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/test/xfree86.c')
-rw-r--r--xorg-server/test/xfree86.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xorg-server/test/xfree86.c b/xorg-server/test/xfree86.c
index f9892e68e..a98671183 100644
--- a/xorg-server/test/xfree86.c
+++ b/xorg-server/test/xfree86.c
@@ -73,7 +73,8 @@ xfree86_option_list_duplicate(void)
static void
xfree86_add_comment(void)
{
- char *current = NULL, *comment;
+ char *current = NULL;
+ const char *comment;
char compare[1024] = { 0 };
comment = "# foo";