Fix implicit cast between enums

This caused `make develop` to fail
This commit is contained in:
ISSOtm
2020-10-05 01:53:35 +02:00
parent be9b1198e9
commit 92f2055a6c

View File

@@ -434,7 +434,7 @@ void patch_CheckAssertions(struct Assertion *assert)
while (assert) {
int32_t value = computeRPNExpr(&assert->patch,
(struct Symbol const * const *)assert->fileSymbols);
enum AssertionType type = assert->patch.type;
enum AssertionType type = (enum AssertionType)assert->patch.type;
if (!isError && !value) {
switch (type) {