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;