mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-27 21:48:29 +00:00
Fixed warning: implicit conversion loses integer precision: 'VkDeviceSize' (aka 'unsigned long long') to 'size_t' (aka 'unsigned int')
This commit is contained in:
@@ -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