---
chat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chat.c b/chat.c
index 0210dd6..106e05f 100644
--- a/chat.c
+++ b/chat.c
@@ -170,7 +170,7 @@ static void sandboxEarly(bool log) {
static void sandboxLate(int irc) {
(void)irc;
*promisesInitial = '\0';
- error = pledge(promises, NULL);
+ int error = pledge(promises, NULL);
if (error) err(EX_OSERR, "pledge");
}
--
2.32.0