Fixed warning: implicit conversion loses integer precision: 'VkDeviceSize' (aka 'unsigned long long') to 'size_t' (aka 'unsigned int')
This commit is contained in:
1 parent
c4582a6536
commit
930d83aed2
1 file changed
+1
-1
@@ -2763,7 +2763,7 @@ static VkResult VULKAN_UpdateTextureInternal(VULKAN_RenderData *rendererData, Vk
|
||||
length = pitch;
|
||||
}
|
||||
for (VkDeviceSize row = h; row--; ) {
|
||||
SDL_memcpy(dst, src, length);
|
||||
SDL_memcpy(dst, src, (size_t)length);
|
||||
src += pitch;
|
||||
dst += length;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user