summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_lines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_lines.c b/src/mesa/swrast/s_lines.c
index 4d9fe58920..a5a612335e 100644
--- a/src/mesa/swrast/s_lines.c
+++ b/src/mesa/swrast/s_lines.c
@@ -258,7 +258,7 @@ _mesa_print_line_function(GLcontext *ctx)
else if (swrast->Line == multitextured_line)
_mesa_printf("multitextured_line\n");
else
- _mesa_printf("Driver func %p\n", (void *) swrast->Line);
+ _mesa_printf("Driver func %p\n", (void *(*)()) swrast->Line);
}
#endif