summaryrefslogtreecommitdiff
path: root/tmk_core/common/magic.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/magic.c')
-rw-r--r--tmk_core/common/magic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/magic.c b/tmk_core/common/magic.c
index 714acc0f54..2b1a6a6ad2 100644
--- a/tmk_core/common/magic.c
+++ b/tmk_core/common/magic.c
@@ -33,6 +33,6 @@ void magic(void)
uint8_t default_layer = 0;
default_layer = eeconfig_read_default_layer();
- default_layer_set((uint32_t)default_layer);
+ default_layer_set((layer_state_t)default_layer);
}