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
79969b6c
Commit
79969b6c
authored
Jun 28, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/basetsd.h: Fix int64 to int truncation warnings when compiling with a 64-bit PSDK compiler.
parent
a11ce794
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
basetsd.h
include/basetsd.h
+8
-8
No files found.
include/basetsd.h
View file @
79969b6c
...
...
@@ -153,12 +153,12 @@ typedef unsigned int UHALF_PTR, *PUHALF_PTR;
static
inline
ULONG32
HandleToULong
(
const
void
*
h
)
{
return
(
ULONG_PTR
)
h
;
return
(
ULONG
32
)(
ULONG
_PTR
)
h
;
}
static
inline
LONG32
HandleToLong
(
const
void
*
h
)
{
return
(
LONG_PTR
)
h
;
return
(
LONG
32
)(
LONG
_PTR
)
h
;
}
static
inline
void
*
ULongToHandle
(
ULONG32
ul
)
...
...
@@ -173,32 +173,32 @@ static inline void *LongToHandle(LONG32 l)
static
inline
ULONG32
PtrToUlong
(
const
void
*
p
)
{
return
(
ULONG_PTR
)
p
;
return
(
ULONG
32
)(
ULONG
_PTR
)
p
;
}
static
inline
LONG32
PtrToLong
(
const
void
*
p
)
{
return
(
LONG_PTR
)
p
;
return
(
LONG
32
)(
LONG
_PTR
)
p
;
}
static
inline
UINT32
PtrToUint
(
const
void
*
p
)
{
return
(
UINT_PTR
)
p
;
return
(
UINT
32
)(
UINT
_PTR
)
p
;
}
static
inline
INT32
PtrToInt
(
const
void
*
p
)
{
return
(
INT_PTR
)
p
;
return
(
INT
32
)(
INT
_PTR
)
p
;
}
static
inline
UINT16
PtrToUshort
(
const
void
*
p
)
{
return
(
ULONG_PTR
)
p
;
return
(
U
INT16
)(
U
LONG_PTR
)
p
;
}
static
inline
INT16
PtrToShort
(
const
void
*
p
)
{
return
(
LONG_PTR
)
p
;
return
(
INT16
)(
LONG_PTR
)
p
;
}
static
inline
void
*
IntToPtr
(
INT32
i
)
...
...
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