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
Johnny Cai
wine
Commits
12222f0d
Commit
12222f0d
authored
24 years ago
by
Eric Pouech
Committed by
Alexandre Julliard
24 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixed a few compilation warnings.
parent
95bcd517
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
dlls/x11drv/x11drv_main.c
+1
-1
1 addition, 1 deletion
dlls/x11drv/x11drv_main.c
graphics/x11drv/bitmap.c
+2
-2
2 additions, 2 deletions
graphics/x11drv/bitmap.c
msdos/dosaspi.c
+1
-1
1 addition, 1 deletion
msdos/dosaspi.c
windows/multimon.c
+3
-3
3 additions, 3 deletions
windows/multimon.c
with
7 additions
and
7 deletions
dlls/x11drv/x11drv_main.c
+
1
−
1
View file @
12222f0d
...
...
@@ -281,7 +281,7 @@ BOOL X11DRV_GetScreenSaveActive(void)
{
int
timeout
,
temp
;
TSXGetScreenSaver
(
display
,
&
timeout
,
&
temp
,
&
temp
,
&
temp
);
return
timeout
!=
NULL
;
return
timeout
!=
0
;
}
/***********************************************************************
...
...
This diff is collapsed.
Click to expand it.
graphics/x11drv/bitmap.c
+
2
−
2
View file @
12222f0d
...
...
@@ -585,8 +585,8 @@ END:
*/
Pixmap
X11DRV_BITMAP_CreatePixmapFromBitmap
(
HBITMAP
hBmp
,
HDC
hdc
)
{
HGLOBAL
hPackedDIB
=
NULL
;
Pixmap
pixmap
=
NULL
;
HGLOBAL
hPackedDIB
=
0
;
Pixmap
pixmap
=
0
;
/*
* Create a packed DIB from the bitmap passed to us.
...
...
This diff is collapsed.
Click to expand it.
msdos/dosaspi.c
+
1
−
1
View file @
12222f0d
...
...
@@ -178,7 +178,7 @@ void ASPI_DOS_HandleInt(CONTEXT86 *context)
if
(
hWNASPI32
==
INVALID_HANDLE_VALUE
)
{
TRACE
(
"Loading WNASPI32
\n
"
);
hWNASPI32
=
LoadLibraryExA
(
"WNASPI32"
,
NULL
,
0
);
hWNASPI32
=
LoadLibraryExA
(
"WNASPI32"
,
0
,
0
);
}
if
(
hWNASPI32
==
INVALID_HANDLE_VALUE
)
...
...
This diff is collapsed.
Click to expand it.
windows/multimon.c
+
3
−
3
View file @
12222f0d
...
...
@@ -29,7 +29,7 @@ HMONITOR WINAPI MonitorFromPoint(POINT ptScreenCoords, DWORD dwFlags)
{
return
xPRIMARY_MONITOR
;
}
return
NULL
;
return
(
HMONITOR
)
0
;
}
/***********************************************************************
...
...
@@ -45,7 +45,7 @@ HMONITOR WINAPI MonitorFromRect(LPRECT lprcScreenCoords, DWORD dwFlags)
{
return
xPRIMARY_MONITOR
;
}
return
NULL
;
return
(
HMONITOR
)
0
;
}
/***********************************************************************
...
...
@@ -65,7 +65,7 @@ HMONITOR WINAPI MonitorFromWindow(HWND hWnd, DWORD dwFlags)
return
MonitorFromRect
(
&
wp
.
rcNormalPosition
,
dwFlags
);
}
return
NULL
;
return
(
HMONITOR
)
0
;
}
/***********************************************************************
...
...
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