From 442321cef216da79c1fcaff8238542ed87984d7e Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Wed, 4 Nov 1998 18:13:38 +0000 Subject: Use g_snprintf insteda of snprintf. 1998-11-04 Miguel de Icaza * entities.c: Use g_snprintf insteda of snprintf. --- entities.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'entities.c') diff --git a/entities.c b/entities.c index 2875cb59..fc9543c0 100644 --- a/entities.c +++ b/entities.c @@ -312,7 +312,7 @@ CHAR *xmlEncodeEntities(xmlDocPtr doc, const CHAR *input) { #ifndef USE_UTF_8 } else if ((sizeof(CHAR) == 1) && (*cur >= 0x80)) { char buf[10], *ptr; - snprintf(buf, 9, "&#%d;", *cur); + g_snprintf(buf, 9, "&#%d;", *cur); ptr = buf; while (*ptr != 0) *out++ = *ptr++; #endif -- cgit v1.2.1