summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordehroox <dehrexd@gmail.com>2025-09-01 12:28:36 +0800
committerdehroox <dehrexd@gmail.com>2025-09-01 12:29:11 +0800
commit7a728cb826921406b552c7d1ceb4561accf94714 (patch)
treed4848a4218d450dd94429e2601fd0634da71fd39
parent224dcfd6b414c07e381887632c9f512950f399a8 (diff)
fix unconsistent casting
-rw-r--r--src/sxwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sxwm.c b/src/sxwm.c
index 8e8e045..843b133 100644
--- a/src/sxwm.c
+++ b/src/sxwm.c
@@ -1678,10 +1678,10 @@ void other_wm(void)
int other_wm_err(Display *d, XErrorEvent *ee)
{
- (void)d;
- (void)ee;
errx(1, "can't start because another window manager is already running");
return 0;
+ (void)d;
+ (void)ee;
}
long parse_col(const char *hex)