VirtualBox

Changeset 38925 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 30, 2011 9:03:54 PM (13 years ago)
Author:
vboxsync
Message:

Additions/linux/sharedfolders: fix a warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/utils.c

    r38811 r38925  
    558558        {
    559559            int nb;
    560             wchar_t uni; /** @todo this should be unicode_t in more recent kernel versions. */
    561 
    562560#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 31)
     561            unicode_t uni;
     562
    563563            nb = utf8_to_utf32(in, in_bound_len, &uni);
    564564#else
     565            linux_wchar_t uni;
     566
    565567            nb = utf8_mbtowc(&uni, in, in_bound_len);
    566568#endif
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