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
7ab28137
Commit
7ab28137
authored
Aug 23, 2005
by
Kevin Koltzau
Committed by
Alexandre Julliard
Aug 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pointer cast warnings in 64bit.
parent
cd159e3a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
windef.h
include/windef.h
+6
-6
debug.h
include/wine/debug.h
+1
-1
No files found.
include/windef.h
View file @
7ab28137
...
@@ -267,14 +267,14 @@ typedef INT (CALLBACK *PROC)();
...
@@ -267,14 +267,14 @@ typedef INT (CALLBACK *PROC)();
/* Macros to split words and longs. */
/* Macros to split words and longs. */
#define LOBYTE(w) ((BYTE)(
WORD)(w
))
#define LOBYTE(w) ((BYTE)(
(DWORD_PTR)(w) & 0xFF
))
#define HIBYTE(w) ((BYTE)((
WORD
)(w) >> 8))
#define HIBYTE(w) ((BYTE)((
DWORD_PTR
)(w) >> 8))
#define LOWORD(l) ((WORD)(
DWORD)(l
))
#define LOWORD(l) ((WORD)(
(DWORD_PTR)(l) & 0xFFFF
))
#define HIWORD(l) ((WORD)((DWORD)(l) >> 16))
#define HIWORD(l) ((WORD)((DWORD
_PTR
)(l) >> 16))
#define MAKEWORD(low,high) ((WORD)(((BYTE)(
low)) | ((WORD)((BYTE)(high
))) << 8))
#define MAKEWORD(low,high) ((WORD)(((BYTE)(
(DWORD_PTR)(low) & 0xFF)) | ((WORD)((BYTE)((DWORD_PTR)(high) & 0xFF
))) << 8))
#define MAKELONG(low,high) ((LONG)(((WORD)(
low)) | (((DWORD)((WORD)(high))) << 16)
))
#define MAKELONG(low,high) ((LONG)(((WORD)(
(DWORD_PTR)(low) & 0xFFFF)) | ((DWORD)((WORD)((DWORD_PTR)(high) & 0xFFFF))) << 16
))
/* min and max macros */
/* min and max macros */
#ifndef NOMINMAX
#ifndef NOMINMAX
...
...
include/wine/debug.h
View file @
7ab28137
...
@@ -149,7 +149,7 @@ extern int wine_dbg_log( unsigned int cls, const char *ch, const char *func,
...
@@ -149,7 +149,7 @@ extern int wine_dbg_log( unsigned int cls, const char *ch, const char *func,
static
inline
const
char
*
wine_dbgstr_guid
(
const
GUID
*
id
)
static
inline
const
char
*
wine_dbgstr_guid
(
const
GUID
*
id
)
{
{
if
(
!
id
)
return
"(null)"
;
if
(
!
id
)
return
"(null)"
;
if
(
!
((
int
)
id
>>
16
))
return
wine_dbg_sprintf
(
"<guid-0x%04x>"
,
(
int
)
id
&
0xffff
);
if
(
!
((
INT_PTR
)
id
>>
16
))
return
wine_dbg_sprintf
(
"<guid-0x%04x>"
,
(
INT_PTR
)
id
&
0xffff
);
return
wine_dbg_sprintf
(
"{%08lx-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}"
,
return
wine_dbg_sprintf
(
"{%08lx-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}"
,
id
->
Data1
,
id
->
Data2
,
id
->
Data3
,
id
->
Data1
,
id
->
Data2
,
id
->
Data3
,
id
->
Data4
[
0
],
id
->
Data4
[
1
],
id
->
Data4
[
2
],
id
->
Data4
[
3
],
id
->
Data4
[
0
],
id
->
Data4
[
1
],
id
->
Data4
[
2
],
id
->
Data4
[
3
],
...
...
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