summaryrefslogtreecommitdiff
path: root/src/nolocale.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-02-13 15:21:07 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-02-13 15:21:07 +0100
commitf28bf71b7c105da7cd0a7db67e21bbceb5df8a1b (patch)
treeb5fa874308719796f046a0c20439dcc020e2c57d /src/nolocale.h
parent7a1136d0efdc71251104dd2f4cbbda03887e0e9d (diff)
Possible win32 fix for missing locale_t type - part6 (this is getting a bit embarrasing...).
Diffstat (limited to 'src/nolocale.h')
-rw-r--r--src/nolocale.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nolocale.h b/src/nolocale.h
index 59489cd..d61abbb 100644
--- a/src/nolocale.h
+++ b/src/nolocale.h
@@ -69,7 +69,7 @@ static inline int sprintf_nol(char *str, const char *format, ...)
va_list vl;
va_start(vl, format);
- ret = _vsprintf_l(str, format, vl, l);
+ ret = _vsprintf_l(str, format, l, vl);
va_end(vl);
_free_locale(l);
@@ -104,7 +104,7 @@ static inline int snprintf_nol(char *str, size_t size, const char *format, ...)
va_list vl;
va_start(vl, format);
- ret = _vsnprintf_l(str, size, format, vl, l);
+ ret = _vsnprintf_l(str, size, format, l, vl);
va_end(vl);
_free_locale(l);