* config/tc-z8k.c (build_bytes): Correct order of memset args.
authorAlan Modra <amodra@gmail.com>
Tue, 16 Jul 2002 13:37:49 +0000 (13:37 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 16 Jul 2002 13:37:49 +0000 (13:37 +0000)
gas/ChangeLog
gas/config/tc-z8k.c

index 8f68da6..95f4a61 100644 (file)
@@ -1,3 +1,7 @@
+2002-07-16  Moritz Jodeit  <moritz@jodeit.org>
+
+       * config/tc-z8k.c (build_bytes): Correct order of memset args.
+
 2002-07-16  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * NEWS: Add 'Changes in 2.13'.
index 85afa10..04723f8 100644 (file)
@@ -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++)