oleaut32: Replace long and unsigned long by more appropriate types.
This commit is contained in:
parent
8de0242885
commit
8fce9369b8
@ -132,8 +132,8 @@ struct OLEFontImpl
|
|||||||
/*
|
/*
|
||||||
* Size ratio
|
* Size ratio
|
||||||
*/
|
*/
|
||||||
long cyLogical;
|
LONG cyLogical;
|
||||||
long cyHimetric;
|
LONG cyHimetric;
|
||||||
|
|
||||||
IConnectionPoint *pPropertyNotifyCP;
|
IConnectionPoint *pPropertyNotifyCP;
|
||||||
IConnectionPoint *pFontEventsCP;
|
IConnectionPoint *pFontEventsCP;
|
||||||
|
@ -938,7 +938,7 @@ typedef struct tagITypeLibImpl
|
|||||||
BSTR DocString;
|
BSTR DocString;
|
||||||
BSTR HelpFile;
|
BSTR HelpFile;
|
||||||
BSTR HelpStringDll;
|
BSTR HelpStringDll;
|
||||||
unsigned long dwHelpContext;
|
DWORD dwHelpContext;
|
||||||
int TypeInfoCount; /* nr of typeinfo's in librarry */
|
int TypeInfoCount; /* nr of typeinfo's in librarry */
|
||||||
struct tagITypeInfoImpl *pTypeInfo; /* linked list of type info data */
|
struct tagITypeInfoImpl *pTypeInfo; /* linked list of type info data */
|
||||||
int ctCustData; /* number of items in cust data list */
|
int ctCustData; /* number of items in cust data list */
|
||||||
@ -1058,8 +1058,8 @@ typedef struct tagITypeInfoImpl
|
|||||||
BSTR Name;
|
BSTR Name;
|
||||||
BSTR DocString;
|
BSTR DocString;
|
||||||
BSTR DllName;
|
BSTR DllName;
|
||||||
unsigned long dwHelpContext;
|
DWORD dwHelpContext;
|
||||||
unsigned long dwHelpStringContext;
|
DWORD dwHelpStringContext;
|
||||||
|
|
||||||
/* functions */
|
/* functions */
|
||||||
TLBFuncDesc * funclist; /* linked list with function descriptions */
|
TLBFuncDesc * funclist; /* linked list with function descriptions */
|
||||||
|
@ -760,7 +760,7 @@ static int ctl2_alloc_custdata(
|
|||||||
if (offset == -1) return offset;
|
if (offset == -1) return offset;
|
||||||
|
|
||||||
*((unsigned short *)&This->typelib_segment_data[MSFT_SEG_CUSTDATA][offset]) = VT_UI4;
|
*((unsigned short *)&This->typelib_segment_data[MSFT_SEG_CUSTDATA][offset]) = VT_UI4;
|
||||||
*((unsigned long *)&This->typelib_segment_data[MSFT_SEG_CUSTDATA][offset+2]) = V_UI4(pVarVal);
|
*((unsigned int *)&This->typelib_segment_data[MSFT_SEG_CUSTDATA][offset+2]) = V_UI4(pVarVal);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@ -5571,7 +5571,9 @@ HRESULT WINAPI VarMod(LPVARIANT left, LPVARIANT right, LPVARIANT result)
|
|||||||
V_VT(result) = VT_I8;
|
V_VT(result) = VT_I8;
|
||||||
V_I8(result) = V_I8(&lv) % V_I8(&rv);
|
V_I8(result) = V_I8(&lv) % V_I8(&rv);
|
||||||
|
|
||||||
TRACE("V_I8(left) == %ld, V_I8(right) == %ld, V_I8(result) == %ld\n", (long)V_I8(&lv), (long)V_I8(&rv), (long)V_I8(result));
|
TRACE("V_I8(left) == %s, V_I8(right) == %s, V_I8(result) == %s\n",
|
||||||
|
wine_dbgstr_longlong(V_I8(&lv)), wine_dbgstr_longlong(V_I8(&rv)),
|
||||||
|
wine_dbgstr_longlong(V_I8(result)));
|
||||||
|
|
||||||
/* convert left and right to the destination type */
|
/* convert left and right to the destination type */
|
||||||
rc = VariantChangeType(result, result, 0, resT);
|
rc = VariantChangeType(result, result, 0, resT);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user