From 609e48fe9cac232ea4cb064df9db8c3c30fdc54d Mon Sep 17 00:00:00 2001 From: VIFEX Date: Thu, 10 Oct 2024 19:55:42 +0800 Subject: [PATCH] fix(vg_lite_tvg): fix int32 type missmatch (#7022) Signed-off-by: pengyiqiang Co-authored-by: pengyiqiang --- src/others/vg_lite_tvg/vg_lite_tvg.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/others/vg_lite_tvg/vg_lite_tvg.cpp b/src/others/vg_lite_tvg/vg_lite_tvg.cpp index 0cadc6b05..81efaa3a4 100644 --- a/src/others/vg_lite_tvg/vg_lite_tvg.cpp +++ b/src/others/vg_lite_tvg/vg_lite_tvg.cpp @@ -1890,11 +1890,11 @@ Empty_sequence_handler: return VG_LITE_NOT_SUPPORT; } - vg_lite_error_t vg_lite_set_scissor(int32_t x, int32_t y, int32_t right, int32_t bottom) + vg_lite_error_t vg_lite_set_scissor(vg_lite_int32_t x, vg_lite_int32_t y, vg_lite_int32_t right, vg_lite_int32_t bottom) { auto ctx = vg_lite_ctx::get_instance(); - int32_t width = right - x; - int32_t height = bottom - y; + vg_lite_int32_t width = right - x; + vg_lite_int32_t height = bottom - y; if(width <= 0 || height <= 0) { return VG_LITE_INVALID_ARGUMENT;