diff options
author | Jan Beulich <jbeulich@suse.com> | 2024-07-26 08:01:07 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2024-07-26 08:01:07 +0200 |
commit | b8b1a4388835bf2899bb0cc148db42a2c32e2af6 (patch) | |
tree | de80d24a776ac513139c3c0f441972646361e21a /gas/sb.c | |
parent | e0b9535c824deb24e209acddcb7662124aeb413f (diff) | |
download | binutils-b8b1a4388835bf2899bb0cc148db42a2c32e2af6.zip binutils-b8b1a4388835bf2899bb0cc148db42a2c32e2af6.tar.gz binutils-b8b1a4388835bf2899bb0cc148db42a2c32e2af6.tar.bz2 |
gas: correct sb_add_char() 2nd parameter type
It's entirely unclear why size_t was used there; my only guess is copy-
and-paste from another of the functions.
Diffstat (limited to 'gas/sb.c')
-rw-r--r-- | gas/sb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -173,7 +173,7 @@ sb_reset (sb *ptr) /* Add character c to the end of the sb at ptr. */ void -sb_add_char (sb *ptr, size_t c) +sb_add_char (sb *ptr, char c) { sb_check (ptr, 1); ptr->ptr[ptr->len++] = c; |