VirtualBox

Changeset 30635 in vbox


Ignore:
Timestamp:
Jul 5, 2010 7:45:12 PM (15 years ago)
Author:
vboxsync
Message:

tstOVF.cpp: two warnings about HRESULT (unsigned) vs. signed values (-1).

File:
1 edited

Legend:

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

    r30269 r30635  
    221221
    222222                default:
    223                     throw MyError(-1, "Invalid VirtualSystemDescriptionType");
     223                    throw MyError(E_UNEXPECTED, "Invalid VirtualSystemDescriptionType");
    224224                break;
    225225            }
     
    256256    int vrc = RTFileCopy("ovf-testcases/ovf-dummy.vmdk", pcszDest);
    257257    if (RT_FAILURE(vrc))
    258         throw MyError(-1, "Cannot copy ovf-dummy.vmdk");
     258        throw MyError(E_UNEXPECTED, "Cannot copy ovf-dummy.vmdk");
    259259    llFiles2Delete.push_back(pcszDest);
    260260}
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