explicit sign on size_index as chars are implicitly unsigned on riscv
This commit is contained in:
+1
-1
@@ -384,7 +384,7 @@ void *thread_btm(){
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
char size_index[2] = { 0 };
|
signed char size_index[2] = { 0 };
|
||||||
if (total_dir_size > 1) {
|
if (total_dir_size > 1) {
|
||||||
size_index[0] = -1;
|
size_index[0] = -1;
|
||||||
while (total_dir_size > 1 && size_index[0] < size_unit_count) {
|
while (total_dir_size > 1 && size_index[0] < size_unit_count) {
|
||||||
|
|||||||
Reference in New Issue
Block a user