diff --git a/include/ege.h b/include/ege.h index e71c8fe..7ad0342 100644 --- a/include/ege.h +++ b/include/ege.h @@ -276,7 +276,7 @@ enum message_mouse #ifndef EGE_COLOR_T_TYPEDEF #define EGE_COLOR_T_TYPEDEF -typedef unsigned int color_t; +typedef uint32_t color_t; #endif enum alpha_type diff --git a/src/color.h b/src/color.h index 5168e36..036d6dd 100644 --- a/src/color.h +++ b/src/color.h @@ -1,6 +1,9 @@ #pragma once #include + +#include "../include/ege/stdint.h" + #include "ege_def.h" #include "ege_math.h" #include "types.h" @@ -17,7 +20,7 @@ namespace ege #ifndef EGE_COLOR_T_TYPEDEF #define EGE_COLOR_T_TYPEDEF -typedef unsigned int color_t; +typedef uint32_t color_t; #endif typedef struct COLORHSL