Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
8fce9369
Commit
8fce9369
authored
Jul 03, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Replace long and unsigned long by more appropriate types.
parent
8de02428
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
7 deletions
+9
-7
olefont.c
dlls/oleaut32/olefont.c
+2
-2
typelib.c
dlls/oleaut32/typelib.c
+3
-3
typelib2.c
dlls/oleaut32/typelib2.c
+1
-1
variant.c
dlls/oleaut32/variant.c
+3
-1
No files found.
dlls/oleaut32/olefont.c
View file @
8fce9369
...
@@ -132,8 +132,8 @@ struct OLEFontImpl
...
@@ -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
;
...
...
dlls/oleaut32/typelib.c
View file @
8fce9369
...
@@ -938,7 +938,7 @@ typedef struct tagITypeLibImpl
...
@@ -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
...
@@ -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 */
...
...
dlls/oleaut32/typelib2.c
View file @
8fce9369
...
@@ -760,7 +760,7 @@ static int ctl2_alloc_custdata(
...
@@ -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:
...
...
dlls/oleaut32/variant.c
View file @
8fce9369
...
@@ -5571,7 +5571,9 @@ HRESULT WINAPI VarMod(LPVARIANT left, LPVARIANT right, LPVARIANT result)
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment