From 24f949f053ffd8b0bc0755b05db14b127fefc105 Mon Sep 17 00:00:00 2001 From: yusing Date: Sat, 28 Jun 2025 14:44:06 +0800 Subject: [PATCH] fix(notif): stack overflow due to self recursion --- internal/notif/color.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/notif/color.go b/internal/notif/color.go index 1b2a638..e175391 100644 --- a/internal/notif/color.go +++ b/internal/notif/color.go @@ -11,7 +11,7 @@ const ( ) func (c Color) HexString() string { - return fmt.Sprintf("#%x", c) + return fmt.Sprintf("#%x", uint(c)) } func (c Color) DecString() string {