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
c6d04ea9
Commit
c6d04ea9
authored
Apr 24, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Make drivers non-const to avoid a compiler warning.
parent
4073805a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
driver.c
dlls/user32/driver.c
+4
-4
No files found.
dlls/user32/driver.c
View file @
c6d04ea9
...
...
@@ -27,7 +27,7 @@
#include "user_private.h"
static
const
USER_DRIVER
null_driver
,
lazy_load_driver
;
static
USER_DRIVER
null_driver
,
lazy_load_driver
;
const
USER_DRIVER
*
USER_Driver
=
&
lazy_load_driver
;
static
DWORD
driver_load_error
;
...
...
@@ -125,7 +125,7 @@ static const USER_DRIVER *load_driver(void)
#undef GET_USER_FUNC
}
prev
=
InterlockedCompareExchangePointer
(
(
void
**
)
&
USER_Driver
,
driver
,
(
void
*
)
&
lazy_load_driver
);
prev
=
InterlockedCompareExchangePointer
(
(
void
**
)
&
USER_Driver
,
driver
,
&
lazy_load_driver
);
if
(
prev
!=
&
lazy_load_driver
)
{
/* another thread beat us to it */
...
...
@@ -410,7 +410,7 @@ static LRESULT nulldrv_WindowMessage( HWND hwnd, UINT msg, WPARAM wparam, LPARAM
return
0
;
}
static
const
USER_DRIVER
null_driver
=
static
USER_DRIVER
null_driver
=
{
/* keyboard functions */
nulldrv_ActivateKeyboardLayout
,
...
...
@@ -736,7 +736,7 @@ static LRESULT loaderdrv_WindowMessage( HWND hwnd, UINT msg, WPARAM wparam, LPAR
return
load_driver
()
->
pWindowMessage
(
hwnd
,
msg
,
wparam
,
lparam
);
}
static
const
USER_DRIVER
lazy_load_driver
=
static
USER_DRIVER
lazy_load_driver
=
{
/* keyboard functions */
loaderdrv_ActivateKeyboardLayout
,
...
...
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