oleaut32/tests: Fix compilation on systems that don't support nameless structs (e.g. gcc 2.95).
This commit is contained in:
parent
43ac6ed995
commit
7f05a94f50
|
@ -301,7 +301,7 @@ static const char *variantstr( const VARIANT *var )
|
||||||
case VT_UINT:
|
case VT_UINT:
|
||||||
sprintf( buffer[current], "VT_UINT(%d)", V_UINT(var) ); break;
|
sprintf( buffer[current], "VT_UINT(%d)", V_UINT(var) ); break;
|
||||||
case VT_CY:
|
case VT_CY:
|
||||||
sprintf( buffer[current], "VT_CY(%x%08x)", V_CY(var).Hi, V_CY(var).Lo ); break;
|
sprintf( buffer[current], "VT_CY(%x%08x)", S(V_CY(var)).Hi, S(V_CY(var)).Lo ); break;
|
||||||
case VT_DATE:
|
case VT_DATE:
|
||||||
sprintf( buffer[current], "VT_DATE(%g)", V_DATE(var) ); break;
|
sprintf( buffer[current], "VT_DATE(%g)", V_DATE(var) ); break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue