Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sebastian Mayr
wine
Commits
c6d04ea9
Commit
c6d04ea9
authored
17 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
user32: Make drivers non-const to avoid a compiler warning.
parent
4073805a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/user32/driver.c
+4
-4
4 additions, 4 deletions
dlls/user32/driver.c
with
4 additions
and
4 deletions
dlls/user32/driver.c
+
4
−
4
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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment