Commit 227e026d by baldurk

MSVC warning fix - conversion from size_t to int, possible loss of data

parent 51843533
......@@ -2121,7 +2121,7 @@ Id Builder::accessChainGetInferredType()
if (accessChain.swizzle.size() == 1)
type = getContainedTypeId(type);
else if (accessChain.swizzle.size() > 1)
type = makeVectorType(getContainedTypeId(type), accessChain.swizzle.size());
type = makeVectorType(getContainedTypeId(type), (int)accessChain.swizzle.size());
// dereference component selection
if (accessChain.component)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment