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