From 88b7d5c3c5a7ad701d4b1042bfbf23575d064141 Mon Sep 17 00:00:00 2001 From: DeeJayLSP Date: Tue, 29 Nov 2022 13:22:05 -0300 Subject: Update thorvg to 0.8.3 --- thirdparty/thorvg/src/loaders/raw/tvgRawLoader.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'thirdparty/thorvg/src/loaders/raw/tvgRawLoader.cpp') diff --git a/thirdparty/thorvg/src/loaders/raw/tvgRawLoader.cpp b/thirdparty/thorvg/src/loaders/raw/tvgRawLoader.cpp index 2da399d8c3..889f130ce9 100644 --- a/thirdparty/thorvg/src/loaders/raw/tvgRawLoader.cpp +++ b/thirdparty/thorvg/src/loaders/raw/tvgRawLoader.cpp @@ -78,9 +78,9 @@ unique_ptr RawLoader::bitmap() auto surface = static_cast(malloc(sizeof(Surface))); surface->buffer = (uint32_t*)(content); - surface->stride = w; - surface->w = w; - surface->h = h; + surface->stride = (uint32_t)w; + surface->w = (uint32_t)w; + surface->h = (uint32_t)h; surface->cs = SwCanvas::ARGB8888; return unique_ptr(surface); -- cgit v1.2.3