From ba336be019a105a14c3bf0c95782275654c63af0 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 30 Jun 2013 08:05:34 +0000 Subject: [PATCH] fix warning --- Graphics/gl2ps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Graphics/gl2ps.cpp b/Graphics/gl2ps.cpp index b6bdc823db..3e8b01d507 100644 --- a/Graphics/gl2ps.cpp +++ b/Graphics/gl2ps.cpp @@ -428,7 +428,7 @@ static int gl2psPrintf(const char* fmt, ...) #if !defined(GL2PS_HAVE_NO_VSNPRINTF) /* Try writing the string to a 1024 byte buffer. If it is too small to fit, keep trying larger sizes until it does. */ - size_t bufsize = sizeof(buf); + int bufsize = sizeof(buf); #endif if(gl2ps->options & GL2PS_COMPRESS){ va_start(args, fmt); -- GitLab