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