VirtualBox

Changeset 10802

Show
Ignore:
Timestamp:
07/22/08 11:10:18 (3 months ago)
Author:
vboxsync
Message:

Main, Guest Properties: attempt to fix the build break on Windows hosts due to SafeArray? of ULONG64

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/VBox/com/array.h

    r10709 r10802  
    329329    static VARTYPE VarType() { return VT_UI4; } 
    330330    static void Copy (ULONG aFrom, ULONG &aTo) { aTo = aFrom; } 
     331}; 
     332 
     333template<> 
     334struct SafeArrayTraits <LONG64> 
     335{ 
     336protected: 
     337 
     338    static VARTYPE VarType() { return VT_I8; } 
     339    static void Copy (LONG64 aFrom, LONG64 &aTo) { aTo = aFrom; } 
     340}; 
     341 
     342template<> 
     343struct SafeArrayTraits <ULONG64> 
     344{ 
     345protected: 
     346 
     347    static VARTYPE VarType() { return VT_UI8; } 
     348    static void Copy (ULONG64 aFrom, ULONG64 &aTo) { aTo = aFrom; } 
    331349}; 
    332350 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy