diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-02-13 15:21:07 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-02-13 15:21:07 +0100 |
commit | f28bf71b7c105da7cd0a7db67e21bbceb5df8a1b (patch) | |
tree | b5fa874308719796f046a0c20439dcc020e2c57d | |
parent | 7a1136d0efdc71251104dd2f4cbbda03887e0e9d (diff) |
Possible win32 fix for missing locale_t type - part6 (this is getting a bit embarrasing...).
-rw-r--r-- | src/nolocale.h | 4 |
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); |