ports/astro/starplot/files/patch-src-classes-strings.cc
Martin Wilke 04d34f3638 - Update to 0.95.3
- Fix build with gcc41

PR:		ports/103954
Submitted by:	trasz <trasz@pin.if.uz.zgora.pl>
2006-10-07 08:50:56 +00:00

11 lines
436 B
C++

--- src/classes/strings.cc.orig Tue Oct 3 18:28:35 2006
+++ src/classes/strings.cc Tue Oct 3 18:28:44 2006
@@ -127,7 +127,7 @@
// return the number of bytes that would have been written even if not
// all of them are. Hope this is true...
va_start(args, format);
- size_t size = std::vsnprintf(test, 2, format, args);
+ size_t size = vsnprintf(test, 2, format, args);
va_end(args);
// Write the result to a string