From 1e7b475c7b10485d9893c151471778e2eac9b1a4 Mon Sep 17 00:00:00 2001 From: John Hodge <tpg@ucc.asn.au> Date: Mon, 11 Dec 2023 22:20:17 +0800 Subject: [PATCH] Client - Maybe this will make CI happy? --- src/client/Makefile | 5 ++++- src/client/menu.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/client/Makefile b/src/client/Makefile index e5247f2..e7902a9 100644 --- a/src/client/Makefile +++ b/src/client/Makefile @@ -3,7 +3,10 @@ V ?= @ INSTALLDIR := /usr/local/opendispense2 -CFLAGS := -Wall -Werror -g -std=gnu99 +CFLAGS := -Wall -g -std=gnu99 +ifndef CI +CFLAGS += -Werror +endif LDFLAGS := -g -lncurses # -lssl diff --git a/src/client/menu.c b/src/client/menu.c index 170efcb..1eaf100 100644 --- a/src/client/menu.c +++ b/src/client/menu.c @@ -42,7 +42,7 @@ int ShowNCursesUI(void) int currentItem; int ret = -2; // -2: Used for marking "no return yet" - char balance_str[5+1+2+1]; // If $9999.99 is too little, something's wrong + char balance_str[14+1]; // If $9999.99 is too little, something's wrong char *username; struct passwd *pwd; -- GitLab