From 92f2055a6c3328a101e2560d26c75fdc4fe1f8be Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Mon, 5 Oct 2020 01:53:35 +0200 Subject: [PATCH] Fix implicit cast between `enum`s This caused `make develop` to fail --- src/link/patch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/link/patch.c b/src/link/patch.c index 39e2bef3..3a72ccbc 100644 --- a/src/link/patch.c +++ b/src/link/patch.c @@ -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) {