VirtualBox

Changeset 13386 in vbox


Ignore:
Timestamp:
Oct 20, 2008 11:00:58 AM (16 years ago)
Author:
vboxsync
Message:

Main/tstVBoxAPILinux: fixed a printf format warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstVBoxAPILinux.cpp

    r8155 r13386  
    468468    if (sizeof(PRUnichar) != sizeof(wchar_t))
    469469    {
    470         printf("Error: sizeof(PRUnichar) {%d} != sizeof(wchar_t) {%d}!\n"
     470        printf("Error: sizeof(PRUnichar) {%lu} != sizeof(wchar_t) {%lu}!\n"
    471471               "Probably, you forgot the -fshort-wchar compiler option.\n",
    472                sizeof(PRUnichar), sizeof(wchar_t));
     472               (unsigned long) sizeof(PRUnichar),
     473               (unsigned long) sizeof(wchar_t));
    473474        return -1;
    474475    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette