aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-z8k.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-07-16 13:37:49 +0000
committerAlan Modra <amodra@gmail.com>2002-07-16 13:37:49 +0000
commit25d3fb587f2c199aa9d84925188ab8924bf410a4 (patch)
tree6ac709a1d4b96fc0335cd6c8055fd5993a957691 /gas/config/tc-z8k.c
parent36b08f12d11c62fe4e22c09d13ab3162c179c823 (diff)
downloadgdb-25d3fb587f2c199aa9d84925188ab8924bf410a4.zip
gdb-25d3fb587f2c199aa9d84925188ab8924bf410a4.tar.gz
gdb-25d3fb587f2c199aa9d84925188ab8924bf410a4.tar.bz2
* config/tc-z8k.c (build_bytes): Correct order of memset args.
Diffstat (limited to 'gas/config/tc-z8k.c')
-rw-r--r--gas/config/tc-z8k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-z8k.c b/gas/config/tc-z8k.c
index 85afa10..04723f8 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++)