diff --git a/custom/4coder_config.cpp b/custom/4coder_config.cpp index d2134b86..52bc6a14 100644 --- a/custom/4coder_config.cpp +++ b/custom/4coder_config.cpp @@ -1643,7 +1643,7 @@ CUSTOM_DOC("Parse the current buffer as a theme file and add the theme to the th if (color_table.count < defcolor_line_numbers_text){ problem_score = defcolor_line_numbers_text - color_table.count; } - for (u32 i = 0; i < color_table.count; i += 1){ + for (i32 i = 0; i < color_table.count; i += 1){ if (color_table.arrays[i].count == 0){ problem_score += 1; } diff --git a/custom/4coder_default_colors.cpp b/custom/4coder_default_colors.cpp index 94554e66..21b73903 100644 --- a/custom/4coder_default_colors.cpp +++ b/custom/4coder_default_colors.cpp @@ -1,4 +1,4 @@ -/* +/* * Default color slots */ @@ -94,7 +94,7 @@ make_color_table(Application_Links *app, Arena *arena){ result.arrays = push_array(arena, Color_Array, result.count); u32 *dummy = push_array(arena, u32, 1); *dummy = 0xFF990099; - for (u32 i = 0; i < result.count; i += 1){ + for (i32 i = 0; i < result.count; i += 1){ result.arrays[i].vals = dummy; result.arrays[i].count = 1; } diff --git a/custom/4coder_types.h b/custom/4coder_types.h index 0898ad28..cc148f46 100644 --- a/custom/4coder_types.h +++ b/custom/4coder_types.h @@ -55,7 +55,7 @@ struct Color_Array{ api(custom) struct Color_Table{ Color_Array *arrays; - u32 count; + i32 count; }; api(custom)