From 9745e9df262928b9b078f84b05e54f7eb677688d Mon Sep 17 00:00:00 2001 From: Michael Munday Date: Fri, 2 Dec 2016 15:30:09 -0500 Subject: [PATCH] Get DASM_SECTION argument from the correct place. --- dynasm/dasm_s390x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynasm/dasm_s390x.h b/dynasm/dasm_s390x.h index 8cd2fc25..e2cd5197 100644 --- a/dynasm/dasm_s390x.h +++ b/dynasm/dasm_s390x.h @@ -204,7 +204,7 @@ void dasm_put(Dst_DECL, int start, ...) case DASM_STOP: goto stop; case DASM_SECTION: - n = (ins & 255); + n = *p++ & 255; CK(n < D->maxsection, RANGE_SEC); D->section = &D->sections[n]; goto stop;