Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/io/vprintf.c

    r28a5ebd red88c8e  
    4848}
    4949
    50 static int vprintf_wstr_write(const char32_t *str, size_t size, void *stream)
     50static int vprintf_wstr_write(const wchar_t *str, size_t size, void *stream)
    5151{
    5252        size_t offset = 0;
     
    5454
    5555        while (offset < size) {
    56                 if (fputuc(str[chars], (FILE *) stream) <= 0)
     56                if (fputwc(str[chars], (FILE *) stream) <= 0)
    5757                        break;
    5858
    5959                chars++;
    60                 offset += sizeof(char32_t);
     60                offset += sizeof(wchar_t);
    6161        }
    6262
Note: See TracChangeset for help on using the changeset viewer.