summaryrefslogtreecommitdiff
path: root/thirdparty/thorvg/src/loaders/raw/tvgRawLoader.cpp
diff options
context:
space:
mode:
authorDeeJayLSP <djlsplays@gmail.com>2022-11-29 13:22:05 -0300
committerDeeJayLSP <djlsplays@gmail.com>2022-11-30 09:14:34 -0300
commit88b7d5c3c5a7ad701d4b1042bfbf23575d064141 (patch)
tree7fcaec758c3ab0467c564c7faf51489872f1c12c /thirdparty/thorvg/src/loaders/raw/tvgRawLoader.cpp
parent6fdbf79046b6404331017c53044507e639efdcc3 (diff)
Update thorvg to 0.8.3
Diffstat (limited to 'thirdparty/thorvg/src/loaders/raw/tvgRawLoader.cpp')
-rw-r--r--thirdparty/thorvg/src/loaders/raw/tvgRawLoader.cpp6
1 files changed, 3 insertions, 3 deletions
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<Surface> RawLoader::bitmap()
auto surface = static_cast<Surface*>(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>(surface);