From 95c5c11d0b909f14696c9c0b2dd30b3bfd406273 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 2 Apr 2020 01:49:45 +1100 Subject: Miscellaneous cleanups (#8639) * Miscellaneous cleanups * Cast NO_PIN --- quantum/config_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quantum/config_common.h') diff --git a/quantum/config_common.h b/quantum/config_common.h index f981f3f8c..4cfd74b0f 100644 --- a/quantum/config_common.h +++ b/quantum/config_common.h @@ -21,7 +21,7 @@ #define ROW2COL 1 // useful for direct pin mapping -#define NO_PIN (~0) +#define NO_PIN (pin_t)(~0) #ifdef __AVR__ # ifndef __ASSEMBLER__ -- cgit v1.2.3