summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorBeefaloKing <9630438+BeefaloKing@users.noreply.github.com>2020-08-04 22:03:29 -0600
committerGitHub <noreply@github.com>2020-08-04 21:03:29 -0700
commit349646bfe0658b1b0236fcc986db714b510114df (patch)
tree8c902b6eff766aa639099286644d07685e6c005f /quantum
parent62c0146419a3a51614e200cfbddef69d14fde6f4 (diff)
Fix RGB_DISABLE_TIMEOUT overflow warning (#9866) (#9874)
* Fix RGB_DISABLE_TIMEOUT overflow warning (#9866) * Adjust capitalization (#9874)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/rgb_matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/rgb_matrix.c b/quantum/rgb_matrix.c
index f3da0ab0f7..615b4b0a7b 100644
--- a/quantum/rgb_matrix.c
+++ b/quantum/rgb_matrix.c
@@ -58,7 +58,7 @@ const point_t k_rgb_matrix_center = RGB_MATRIX_CENTER;
// ------------------------------------------
#if defined(RGB_DISABLE_AFTER_TIMEOUT) && !defined(RGB_DISABLE_TIMEOUT)
-# define RGB_DISABLE_TIMEOUT (RGB_DISABLE_AFTER_TIMEOUT * 1200)
+# define RGB_DISABLE_TIMEOUT (RGB_DISABLE_AFTER_TIMEOUT * 1200UL)
#endif
#ifndef RGB_DISABLE_TIMEOUT