summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/util/p_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/p_debug.c b/src/gallium/auxiliary/util/p_debug.c
index eaf2c9bd987..8ef28801913 100644
--- a/src/gallium/auxiliary/util/p_debug.c
+++ b/src/gallium/auxiliary/util/p_debug.c
@@ -413,11 +413,11 @@ char *pf_sprint_name( char *str, enum pipe_format format )
}
-void debug_print_format(const char *msg, enum pipe_format fmt )
+void debug_print_format(const char *msg, unsigned fmt )
{
char fmtstr[80];
- pf_sprint_name(fmtstr, fmt);
+ pf_sprint_name(fmtstr, (enum pipe_format)fmt);
debug_printf("%s: %s\n", msg, fmtstr);
}