Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
97577438
Commit
97577438
authored
Apr 17, 2008
by
Eric Pouech
Committed by
Alexandre Julliard
Apr 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhelp: Fix regression introduced by Win64 warning fixes.
parent
bade2a31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
hlpfile.c
programs/winhelp/hlpfile.c
+4
-4
No files found.
programs/winhelp/hlpfile.c
View file @
97577438
...
...
@@ -158,11 +158,11 @@ HLPFILE_PAGE *HLPFILE_PageByOffset(HLPFILE* hlpfile, LONG offset)
static
int
comp_PageByHash
(
void
*
p
,
const
void
*
key
,
int
leaf
,
void
**
next
)
{
ULONG_PTR
lKey
=
(
LONG_PTR
)
key
;
ULONG_PTR
lTest
=
GET_UINT
(
p
,
0
);
LONG
lKey
=
(
LONG_PTR
)
key
;
LONG
lTest
=
(
INT
)
GET_UINT
(
p
,
0
);
*
next
=
(
char
*
)
p
+
(
leaf
?
8
:
6
);
WINE_TRACE
(
"Comparing '%
lu' with '%lu
'
\n
"
,
lKey
,
lTest
);
WINE_TRACE
(
"Comparing '%
d' with '%d
'
\n
"
,
lKey
,
lTest
);
if
(
lTest
<
lKey
)
return
-
1
;
if
(
lTest
>
lKey
)
return
1
;
return
0
;
...
...
@@ -184,7 +184,7 @@ HLPFILE_PAGE *HLPFILE_PageByHash(HLPFILE* hlpfile, LONG lHash)
if
(
hlpfile
->
version
<=
16
)
return
HLPFILE_PageByNumber
(
hlpfile
,
lHash
);
ptr
=
HLPFILE_BPTreeSearch
(
hlpfile
->
Context
,
U
LongToPtr
(
lHash
),
comp_PageByHash
);
ptr
=
HLPFILE_BPTreeSearch
(
hlpfile
->
Context
,
LongToPtr
(
lHash
),
comp_PageByHash
);
if
(
!
ptr
)
{
WINE_ERR
(
"Page of hash %x not found in file %s
\n
"
,
lHash
,
hlpfile
->
lpszPath
);
...
...
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