gallivm: fixup const int64 builder.
authorDave Airlie <airlied@redhat.com>
Fri, 27 Dec 2019 19:41:44 +0000 (05:41 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 27 Dec 2019 19:44:31 +0000 (05:44 +1000)
Pointed out by Ilia.

Fixes: 84ba00877496 (gallivm: add 64-bit const int creator.)
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/auxiliary/gallivm/lp_bld_const.h

index 4e8f22073d5508bfba37717e053e4dcb13a0b895..ce49c8fdcf4d4ddf3be5b28d3a142ae35ae5ac84 100644 (file)
@@ -127,7 +127,7 @@ lp_build_const_int32(struct gallivm_state *gallivm, int i)
 }
 
 static inline LLVMValueRef
-lp_build_const_int64(struct gallivm_state *gallivm, int i)
+lp_build_const_int64(struct gallivm_state *gallivm, int64_t i)
 {
    return LLVMConstInt(LLVMInt64TypeInContext(gallivm->context), i, 0);
 }