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