From 25d3fb587f2c199aa9d84925188ab8924bf410a4 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 16 Jul 2002 13:37:49 +0000 Subject: [PATCH] * config/tc-z8k.c (build_bytes): Correct order of memset args. --- gas/ChangeLog | 4 ++++ gas/config/tc-z8k.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 8f68da697fd..95f4a61a36f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2002-07-16 Moritz Jodeit + + * config/tc-z8k.c (build_bytes): Correct order of memset args. + 2002-07-16 Nick Clifton * NEWS: Add 'Changes in 2.13'. diff --git a/gas/config/tc-z8k.c b/gas/config/tc-z8k.c index 85afa104a38..04723f8d834 100644 --- a/gas/config/tc-z8k.c +++ b/gas/config/tc-z8k.c @@ -1005,7 +1005,7 @@ build_bytes (this_try, operand) frag_wane (frag_now); frag_new (0); - memset (buffer, 20, 0); + memset (buffer, 0, sizeof (buffer)); class_ptr = this_try->byte_info; for (nibble = 0; (c = *class_ptr++); nibble++) -- 2.30.2