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
7e4c88c6
Commit
7e4c88c6
authored
Sep 13, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid some warnings on 64-bit platforms.
parent
e17ef695
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
library.h
include/wine/library.h
+1
-1
pthread.h
include/wine/pthread.h
+2
-2
cptable.c
libs/unicode/cptable.c
+2
-2
ldt.c
libs/wine/ldt.c
+1
-1
kthread.c
loader/kthread.c
+1
-1
pthread.c
loader/pthread.c
+1
-1
No files found.
include/wine/library.h
View file @
7e4c88c6
...
...
@@ -87,7 +87,7 @@ extern void wine_ldt_init_locking( void (*lock_func)(void), void (*unlock_func)(
extern
void
wine_ldt_get_entry
(
unsigned
short
sel
,
LDT_ENTRY
*
entry
);
extern
int
wine_ldt_set_entry
(
unsigned
short
sel
,
const
LDT_ENTRY
*
entry
);
extern
int
wine_ldt_is_system
(
unsigned
short
sel
);
extern
void
*
wine_ldt_get_ptr
(
unsigned
short
sel
,
unsigned
int
offset
);
extern
void
*
wine_ldt_get_ptr
(
unsigned
short
sel
,
unsigned
long
offset
);
extern
unsigned
short
wine_ldt_alloc_entries
(
int
count
);
extern
unsigned
short
wine_ldt_realloc_entries
(
unsigned
short
sel
,
int
oldcount
,
int
newcount
);
extern
void
wine_ldt_free_entries
(
unsigned
short
sel
,
int
count
);
...
...
include/wine/pthread.h
View file @
7e4c88c6
...
...
@@ -93,7 +93,7 @@ struct wine_pthread_thread_info
int
pid
;
/* Unix process id */
int
tid
;
/* Unix thread id */
void
(
*
entry
)(
struct
wine_pthread_thread_info
*
info
);
/* thread entry point */
int
exit_status
;
/* thread exit status when calling wine_pthread_exit_thread */
long
exit_status
;
/* thread exit status when calling wine_pthread_exit_thread */
};
struct
wine_pthread_functions
...
...
@@ -104,7 +104,7 @@ struct wine_pthread_functions
void
(
*
init_current_teb
)(
struct
wine_pthread_thread_info
*
info
);
void
*
(
*
get_current_teb
)(
void
);
void
(
*
DECLSPEC_NORETURN
exit_thread
)(
struct
wine_pthread_thread_info
*
info
);
void
(
*
DECLSPEC_NORETURN
abort_thread
)(
int
status
);
void
(
*
DECLSPEC_NORETURN
abort_thread
)(
long
status
);
};
extern
void
wine_pthread_get_functions
(
struct
wine_pthread_functions
*
functions
,
size_t
size
);
...
...
libs/unicode/cptable.c
View file @
7e4c88c6
...
...
@@ -156,7 +156,7 @@ static const union cptable * const cptables[60] =
static
int
cmp_codepage
(
const
void
*
codepage
,
const
void
*
entry
)
{
return
(
unsigned
int
)
codepage
-
(
*
(
const
union
cptable
*
const
*
)
entry
)
->
info
.
codepage
;
return
*
(
unsigned
int
*
)
codepage
-
(
*
(
const
union
cptable
*
const
*
)
entry
)
->
info
.
codepage
;
}
...
...
@@ -165,7 +165,7 @@ const union cptable *wine_cp_get_table( unsigned int codepage )
{
const
union
cptable
**
res
;
if
(
!
(
res
=
bsearch
(
(
void
*
)
codepage
,
cptables
,
NB_CODEPAGES
,
if
(
!
(
res
=
bsearch
(
&
codepage
,
cptables
,
NB_CODEPAGES
,
sizeof
(
cptables
[
0
]),
cmp_codepage
)))
return
NULL
;
return
*
res
;
}
...
...
libs/wine/ldt.c
View file @
7e4c88c6
...
...
@@ -295,7 +295,7 @@ int wine_ldt_is_system( unsigned short sel )
* Convert a segment:offset pair to a linear pointer.
* Note: we don't lock the LDT since this has to be fast.
*/
void
*
wine_ldt_get_ptr
(
unsigned
short
sel
,
unsigned
int
offset
)
void
*
wine_ldt_get_ptr
(
unsigned
short
sel
,
unsigned
long
offset
)
{
int
index
;
...
...
loader/kthread.c
View file @
7e4c88c6
...
...
@@ -377,7 +377,7 @@ static void DECLSPEC_NORETURN exit_thread( struct wine_pthread_thread_info *info
/***********************************************************************
* abort_thread
*/
static
void
DECLSPEC_NORETURN
abort_thread
(
int
status
)
static
void
DECLSPEC_NORETURN
abort_thread
(
long
status
)
{
#ifdef HAVE__LWP_CREATE
_lwp_exit
();
...
...
loader/pthread.c
View file @
7e4c88c6
...
...
@@ -157,7 +157,7 @@ static void DECLSPEC_NORETURN exit_thread( struct wine_pthread_thread_info *info
/***********************************************************************
* abort_thread
*/
static
void
DECLSPEC_NORETURN
abort_thread
(
int
status
)
static
void
DECLSPEC_NORETURN
abort_thread
(
long
status
)
{
pthread_exit
(
(
void
*
)
status
);
}
...
...
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