From ab2c09b788dfca056f395fd3595a07f0107709ea Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Thu, 14 Sep 2023 09:50:26 +0800 Subject: [PATCH] change int types for consistency --- ios/src/PolyvoxFilamentApi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/src/PolyvoxFilamentApi.cpp b/ios/src/PolyvoxFilamentApi.cpp index c97b4c9b..b4967de8 100644 --- a/ios/src/PolyvoxFilamentApi.cpp +++ b/ios/src/PolyvoxFilamentApi.cpp @@ -143,7 +143,7 @@ extern "C" { ((FilamentViewer*)viewer)->createSwapChain(surface, width, height); } - FLUTTER_PLUGIN_EXPORT void update_viewport_and_camera_projection(const void* const viewer, int width, int height, float scaleFactor) { + FLUTTER_PLUGIN_EXPORT void update_viewport_and_camera_projection(const void* const viewer, uint32_t width, uint32_t height, float scaleFactor) { return ((FilamentViewer*)viewer)->updateViewportAndCameraProjection(width, height, scaleFactor); }