diff options
author | Alan Modra <amodra@gmail.com> | 2025-07-09 09:13:51 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-07-09 09:35:07 +0930 |
commit | e76715632c004a9c2b1be0b943e08bd462c026db (patch) | |
tree | 4690d85732b09f21e531be4290c4bc623e224a1a /gas/input-scrub.c | |
parent | a093ef7af443b36d57f4aa0cb76eca677208d7bf (diff) | |
download | binutils-e76715632c004a9c2b1be0b943e08bd462c026db.zip binutils-e76715632c004a9c2b1be0b943e08bd462c026db.tar.gz binutils-e76715632c004a9c2b1be0b943e08bd462c026db.tar.bz2 |
gas remove assorted unnecessary casts
This continues the saga of removing unnecessary casts, and making
small code tidies in gas. Hopefully this sees the last of K&R
anachronisms.
Diffstat (limited to 'gas/input-scrub.c')
-rw-r--r-- | gas/input-scrub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/input-scrub.c b/gas/input-scrub.c index 93d1e8e..c967a39 100644 --- a/gas/input-scrub.c +++ b/gas/input-scrub.c @@ -419,8 +419,8 @@ input_scrub_next_buffer (char **bufp) partial_size = limit - p; /* Save the fragment after that last newline. */ - memcpy (save_source, partial_where, (int) AFTER_SIZE); - memcpy (partial_where, AFTER_STRING, (int) AFTER_SIZE); + memcpy (save_source, partial_where, AFTER_SIZE); + memcpy (partial_where, AFTER_STRING, AFTER_SIZE); return partial_where; read_more: |