diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_printf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_printf.c b/src/gallium/auxiliary/gallivm/lp_bld_printf.c index 7a6bbd960be..1324da26a71 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_printf.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_printf.c @@ -111,6 +111,8 @@ lp_build_print_value(struct gallivm_state *gallivm, } else { type_fmt[2] = 'i'; } + } else if (type_kind == LLVMPointerTypeKind) { + type_fmt[2] = 'p'; } else { /* Unsupported type */ assert(0); |