mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-08-01 19:08:54 +00:00
Merge pull request #32 from Ybalrid/narrowingConversionWarning
Silence a MSVC warning about narrowing conversion
This commit is contained in:
@@ -522,7 +522,7 @@ struct Accessor {
|
||||
if ((bufferViewObject.byteStride % componentSizeInBytes) != 0) {
|
||||
return -1;
|
||||
}
|
||||
return bufferViewObject.byteStride;
|
||||
return static_cast<int>(bufferViewObject.byteStride);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user