From 72f0cd6368e65e1472e7a029b1a67a7b39d8b696 Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 10 Oct 2000 20:39:26 +0000 Subject: [PATCH] Fixed a warning git-svn-id: svn://svn.cc65.org/cc65/trunk@353 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/optimize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc65/optimize.c b/src/cc65/optimize.c index 19032a528..3b98d64f5 100644 --- a/src/cc65/optimize.c +++ b/src/cc65/optimize.c @@ -331,7 +331,7 @@ static Line* ReplaceLine (Line* L, const char* Format, ...) /* Format the new line */ va_list ap; va_start (ap, Format); - vsprintf (S, Format, ap); + xvsprintf (S, sizeof (S), Format, ap); va_end (ap); /* Get the length of the new line */ -- 2.39.5