summaryrefslogtreecommitdiff
path: root/colors.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-15 10:56:34 -0400
committerpommicket <pommicket@gmail.com>2023-08-15 10:56:34 -0400
commit2515bf34a97620ffbfcf5db8451c422ccf132cf8 (patch)
tree4758ae1fe8aad9c9ba905913d586710795ee6a59 /colors.c
parentad8c5d1466eb8edf2e6343f28026ae993ac31f2c (diff)
fix iwndows build
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: