From 0353c714d62b261dba39449b10d4be33bcd20385 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U-WIN-U2045GN0RNQ=5CV=C3=ADtor=20Santos=20Costa?= Date: Tue, 8 Mar 2011 00:02:19 +0000 Subject: [PATCH] fix silly warning --- C/computils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C/computils.c b/C/computils.c index 35629d4a0..bfba8e5f7 100755 --- a/C/computils.c +++ b/C/computils.c @@ -414,7 +414,7 @@ write_address(CELL address) #if HAVE_SNPRINTF snprintf(buf,32,"%p",(void *)address); #else - snprintf(buf,"%p",(void *)address); + sprintf(buf,"%p",(void *)address); #endif p[31] = '\0'; /* so that I don't have to worry */ Yap_DebugErrorPutc('0');