summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_print.c
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-07-15 11:44:47 +0200
committerMichal Krol <michal@tungstengraphics.com>2008-07-15 11:49:02 +0200
commitf9c574d7192d2193ff3e12629a8db1a74b6dbf55 (patch)
treecb128f689d953fc8b8fa21cd990ef478dfe757a6 /src/mesa/shader/prog_print.c
parent6c534b830c6f5427c391c5225c34561141c201ba (diff)
mesa: Silence compiler warnings on Windows.
Diffstat (limited to 'src/mesa/shader/prog_print.c')
-rw-r--r--src/mesa/shader/prog_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c
index 11f82c1fc1..014d08f062 100644
--- a/src/mesa/shader/prog_print.c
+++ b/src/mesa/shader/prog_print.c
@@ -363,7 +363,7 @@ _mesa_print_swizzle(GLuint swizzle)
_mesa_printf(".xyzw\n");
}
else {
- char *s = _mesa_swizzle_string(swizzle, 0, 0);
+ const char *s = _mesa_swizzle_string(swizzle, 0, 0);
_mesa_printf("%s\n", s);
}
}