From 1eb1c11dea1e90310a8bd764f8fa8af11b8bc6c4 Mon Sep 17 00:00:00 2001 From: baldurk <baldurk@baldurk.org> Date: Mon, 15 Aug 2016 18:01:15 +0200 Subject: [PATCH] fix x64 warning about conversion size_t -> int --- hlsl/hlslParseHelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hlsl/hlslParseHelper.cpp b/hlsl/hlslParseHelper.cpp index 2a793759a..8ee8f9c70 100755 --- a/hlsl/hlslParseHelper.cpp +++ b/hlsl/hlslParseHelper.cpp @@ -1346,7 +1346,7 @@ void HlslParseContext::decomposeSampleMethods(const TSourceLoc& loc, TIntermType const TSamplerDim dim = argTex->getType().getSampler().dim; - const int argSize = argAggregate->getSequence().size(); + const int argSize = (int)argAggregate->getSequence().size(); bool hasStatus = (argSize == (5+cmpValues) || argSize == (8+cmpValues)); bool hasOffset1 = false; bool hasOffset4 = false; -- GitLab