Try affixing to const in initialization
Some checks failed
Build Dusk / build-linux (push) Failing after 49s
Build Dusk / release (push) Has been skipped
Some checks failed
Build Dusk / build-linux (push) Failing after 49s
Build Dusk / release (push) Has been skipped
This commit is contained in:
@@ -24,7 +24,7 @@ typedef struct {
|
||||
static const errorcode_t ERROR_OK = 0;
|
||||
static const errorcode_t ERROR_NOT_OK = 1;
|
||||
|
||||
#define ERROR_STATE_INIT ((errorstate_t){ \
|
||||
#define ERROR_STATE_INIT ((const errorstate_t){ \
|
||||
.code = ERROR_OK, .message = NULL, .lines = NULL \
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user