summaryrefslogtreecommitdiff
path: root/colors.c
diff options
context:
space:
mode:
Diffstat (limited to 'colors.c')
-rw-r--r--colors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/colors.c b/colors.c
index e626b0f..3e704e9 100644
--- a/colors.c
+++ b/colors.c
@@ -100,7 +100,7 @@ const char *color_setting_to_str(ColorSetting s) {
// converts #rrggbb/#rrggbbaa to a color. returns false if it's not in the right format.
Status color_from_str(const char *str, u32 *color) {
- uint r = 0, g = 0, b = 0, a = 0xff;
+ u32 r = 0, g = 0, b = 0, a = 0xff;
bool success = false;
switch (strlen(str)) {
case 4: