attempt to remove some warnings when using -Wall

This commit is contained in:
Greg Wells
2025-05-29 22:34:49 -04:00
parent 77e92957a6
commit 706b558684
11 changed files with 68 additions and 36 deletions

View File

@@ -31,7 +31,7 @@ typedef enum gnReturnCode_t {
} gnReturnCode;
typedef gnReturnCode gnErrorCode;
static const char* gnErrorCodeToCString(enum gnReturnCode_t returnCode) {
const char* gnErrorCodeToCString(enum gnReturnCode_t returnCode) {
switch (returnCode) {
default: return "GN_FORGOT";
case GN_SUCCESS: return "GN_SUCCESS";