fix x64 warning about conversion size_t -> int
authorbaldurk <baldurk@baldurk.org>
Mon, 15 Aug 2016 16:01:15 +0000 (18:01 +0200)
committerbaldurk <baldurk@baldurk.org>
Mon, 15 Aug 2016 16:01:15 +0000 (18:01 +0200)
hlsl/hlslParseHelper.cpp

index 2a79375..8ee8f9c 100755 (executable)
@@ -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;