update for HEAD-2003091401
[reactos.git] / lib / ntdll / stdio / swprintf.c
index a05ac07..1a90716 100644 (file)
@@ -64,8 +64,8 @@ number(wchar_t * buf, wchar_t * end, long long num, int base, int size, int prec
 {
        wchar_t c, sign, tmp[66];
        const wchar_t *digits;
-       const wchar_t small_digits[] = L"0123456789abcdefghijklmnopqrstuvwxyz";
-       const wchar_t large_digits[] = L"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
+       const wchar_t *small_digits = L"0123456789abcdefghijklmnopqrstuvwxyz";
+       const wchar_t *large_digits = L"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
        int i;
 
        digits = (type & LARGE) ? large_digits : small_digits;
@@ -248,7 +248,7 @@ int _vsnwprintf(wchar_t *buf, size_t cnt, const wchar_t *fmt, va_list args)
 {
        int len;
        unsigned long long num;
-       int i, base;
+       int base;
        wchar_t * str, * end;
        const char *s;
        const wchar_t *sw;
@@ -510,6 +510,9 @@ int _vsnwprintf(wchar_t *buf, size_t cnt, const wchar_t *fmt, va_list args)
 }
 
 
+/*
+ * @implemented
+ */
 int swprintf(wchar_t *buf, const wchar_t *fmt, ...)
 {
        va_list args;
@@ -522,6 +525,9 @@ int swprintf(wchar_t *buf, const wchar_t *fmt, ...)
 }
 
 
+/*
+ * @implemented
+ */
 int _snwprintf(wchar_t *buf, size_t cnt, const wchar_t *fmt, ...)
 {
        va_list args;