diff options
Diffstat (limited to 'opcodes/arc-dis.c')
-rw-r--r-- | opcodes/arc-dis.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/opcodes/arc-dis.c b/opcodes/arc-dis.c index 0e16cde..df842fd 100644 --- a/opcodes/arc-dis.c +++ b/opcodes/arc-dis.c @@ -426,8 +426,7 @@ write_comments_(struct arcDisState * state, strcpy (state->commentBuffer, comment_prefix); else strcat (state->commentBuffer, ", "); - strncat (state->commentBuffer, state->comm[i], - sizeof (state->commentBuffer)); + strcat (state->commentBuffer, state->comm[i]); } } } |