VirtualBox

Ignore:
Timestamp:
Nov 14, 2008 2:48:49 PM (16 years ago)
Author:
vboxsync
Message:

Fixed some warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedFolders/mappings.cpp

    r13837 r14215  
    7777            FolderMapping[i].fValid    = true;
    7878            FolderMapping[i].cMappings = 0;
    79             FolderMapping[i].fWritable = fWritable;
     79            FolderMapping[i].fWritable = !!fWritable;
    8080
    8181            /* Check if the host file system is case sensitive */
     
    329329    Assert(FolderMapping[index].cMappings == 1 || FolderMapping[index].fGuestCaseSensitive == fCaseSensitive);
    330330    FolderMapping[index].fGuestCaseSensitive = fCaseSensitive;
    331     *pRoot = index;
     331    *pRoot = (SHFLROOT)index;
    332332    return VINF_SUCCESS;
    333333}
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