From 3c4bbd8819311b1fb182ce0794e8b9610643032a Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 25 Nov 2003 16:51:34 +0000 Subject: [PATCH] Oops; sprintf->vsprintf --- Geo/Geo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Geo/Geo.cpp b/Geo/Geo.cpp index 236888a85d..ffd46bc0f1 100644 --- a/Geo/Geo.cpp +++ b/Geo/Geo.cpp @@ -1,4 +1,4 @@ -// $Id: Geo.cpp,v 1.35 2003-11-23 06:58:01 geuzaine Exp $ +// $Id: Geo.cpp,v 1.36 2003-11-25 16:51:34 geuzaine Exp $ // // Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle // @@ -37,7 +37,7 @@ extern Context_T CTX; int snprintf(char *str, size_t size, const char* fmt, ...){ va_list args; va_start(args, fmt); - int ret = sprintf(str, fmt, args); + int ret = vsprintf(str, fmt, args); va_end(args); return ret; } -- GitLab