From: Dave Airlie Date: Fri, 27 Dec 2019 19:41:44 +0000 (+1000) Subject: gallivm: fixup const int64 builder. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=baa064f0f58f3edaf711fb87ae8beb9a8c480a7a;p=mesa.git gallivm: fixup const int64 builder. Pointed out by Ilia. Fixes: 84ba00877496 (gallivm: add 64-bit const int creator.) Reviewed-by: Ilia Mirkin Acked-by: Alyssa Rosenzweig --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_const.h b/src/gallium/auxiliary/gallivm/lp_bld_const.h index 4e8f22073d5..ce49c8fdcf4 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_const.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_const.h @@ -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); }