aboutsummaryrefslogtreecommitdiff
path: root/i386-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386-dis.c')
-rw-r--r--i386-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386-dis.c b/i386-dis.c
index 0c97e1c..5f69aca 100644
--- a/i386-dis.c
+++ b/i386-dis.c
@@ -2826,7 +2826,7 @@ static void
oappend (s)
const char *s;
{
- pstrcpy (obufp, (size_t)(obufp - obuf), s);
+ pstrcpy (obufp, sizeof(obuf) - (size_t)(obufp - obuf), s);
obufp += strlen (s);
}