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
18932480
Commit
18932480
authored
Feb 18, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uiribbon: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0077d80b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Makefile.in
dlls/uiribbon/Makefile.in
+0
-1
uiribbon.c
dlls/uiribbon/uiribbon.c
+2
-2
No files found.
dlls/uiribbon/Makefile.in
View file @
18932480
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
uiribbon.dll
IMPORTS
=
uuid ole32
...
...
dlls/uiribbon/uiribbon.c
View file @
18932480
...
...
@@ -56,7 +56,7 @@ static ULONG WINAPI UIRibbonFrameworkImpl_AddRef(IUIFramework *iface)
UIRibbonFrameworkImpl
*
This
=
impl_from_IUIFramework
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p)->(): new ref %d
\n
"
,
iface
,
This
,
ref
);
TRACE
(
"(%p/%p)->(): new ref %
l
d
\n
"
,
iface
,
This
,
ref
);
return
ref
;
}
...
...
@@ -66,7 +66,7 @@ static ULONG WINAPI UIRibbonFrameworkImpl_Release(IUIFramework *iface)
UIRibbonFrameworkImpl
*
This
=
impl_from_IUIFramework
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p)->(): new ref %d
\n
"
,
iface
,
This
,
ref
);
TRACE
(
"(%p/%p)->(): new ref %
l
d
\n
"
,
iface
,
This
,
ref
);
if
(
!
ref
)
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
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