From e98b87892b93d89f7a6a344a61a31619e0264429 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Fri, 16 May 2025 02:08:25 +0900 Subject: [PATCH] gl_engine: revert some wrong change my fault. signed value should be respected from cd12618529b62359fcebc38fd165680a5ff88b03 --- src/common/tvgArray.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/tvgArray.h b/src/common/tvgArray.h index 138a2f7f..2e5076c3 100644 --- a/src/common/tvgArray.h +++ b/src/common/tvgArray.h @@ -166,7 +166,7 @@ struct Array template void sort() { - qsort(data, 0, count - 1); + qsort(data, 0, (int32_t)(count - 1)); } ~Array() @@ -176,7 +176,7 @@ struct Array private: template - void qsort(T* arr, uint32_t low, uint32_t high) + void qsort(T* arr, int32_t low, int32_t high) { if (low < high) { auto i = low;