diff --git a/src/tydra/render-data.cc b/src/tydra/render-data.cc index 0bf35af3..bc53d8b6 100644 --- a/src/tydra/render-data.cc +++ b/src/tydra/render-data.cc @@ -650,7 +650,7 @@ bool RenderSceneConverter::ConvertMesh(const int64_t rmaterial_id, std::vector uvs(vattr.counts()); memcpy(uvs.data(), vattr.data.data(), vattr.data.size()); - dst.facevaryingTexcoords[size_t(slotId)] = uvs; + dst.facevaryingTexcoords[uint32_t(slotId)] = uvs; } else { PUSH_ERROR_AND_RETURN(ret.error());