VirtualBox

Changeset 93481 in vbox for trunk/src


Ignore:
Timestamp:
Jan 28, 2022 4:31:30 PM (3 years ago)
Author:
vboxsync
Message:

Main/Appliance: Allow users to specify a different storage controller
and/or controller port for hard disks when importing a VM. bugref:5027

Follow-up build-fix due to a missing cast when assigning an unsigned
integer to a signed integer (flagged by [-Werror,-Wsign-conversion]).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r93480 r93481  
    57485748                            if (uOrigControllerPortValue != uNewControllerPortValue)
    57495749                            {
    5750                                 AD.lPort = uNewControllerPortValue;
     5750                                AD.lPort = (int32_t)uNewControllerPortValue;
    57515751                            }
    57525752                            if (uOrigControllerIndex != uTargetControllerIndex)
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