mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 13:13:23 +00:00
gl_engine: revert some wrong change
Some checks are pending
Android / build_x86_64 (push) Waiting to run
Android / build_aarch64 (push) Waiting to run
iOS / build_x86_64 (push) Waiting to run
iOS / build_arm64 (push) Waiting to run
macOS / build (push) Waiting to run
macOS / compact_test (push) Waiting to run
macOS / unit_test (push) Waiting to run
Ubuntu / build (push) Waiting to run
Ubuntu / compact_test (push) Waiting to run
Ubuntu / unit_test (push) Waiting to run
Windows / build (push) Waiting to run
Windows / compact_test (push) Waiting to run
Windows / unit_test (push) Waiting to run
Some checks are pending
Android / build_x86_64 (push) Waiting to run
Android / build_aarch64 (push) Waiting to run
iOS / build_x86_64 (push) Waiting to run
iOS / build_arm64 (push) Waiting to run
macOS / build (push) Waiting to run
macOS / compact_test (push) Waiting to run
macOS / unit_test (push) Waiting to run
Ubuntu / build (push) Waiting to run
Ubuntu / compact_test (push) Waiting to run
Ubuntu / unit_test (push) Waiting to run
Windows / build (push) Waiting to run
Windows / compact_test (push) Waiting to run
Windows / unit_test (push) Waiting to run
my fault. signed value should be respected
from cd12618529
This commit is contained in:
parent
97d96a7f8b
commit
e98b87892b
1 changed files with 2 additions and 2 deletions
|
@ -166,7 +166,7 @@ struct Array
|
|||
|
||||
template<class COMPARE> void sort()
|
||||
{
|
||||
qsort<COMPARE>(data, 0, count - 1);
|
||||
qsort<COMPARE>(data, 0, (int32_t)(count - 1));
|
||||
}
|
||||
|
||||
~Array()
|
||||
|
@ -176,7 +176,7 @@ struct Array
|
|||
|
||||
private:
|
||||
template<class COMPARE>
|
||||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue