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
7b06d984
Commit
7b06d984
authored
Nov 14, 1998
by
Huw D M Davies
Committed by
Alexandre Julliard
Nov 14, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes a few of the many compiler warnings.
parent
698a8b17
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
dib.c
objects/dib.c
+1
-1
enhmetafile.c
objects/enhmetafile.c
+2
-2
console.c
win32/console.c
+2
-1
No files found.
objects/dib.c
View file @
7b06d984
...
@@ -999,7 +999,7 @@ HBITMAP32 WINAPI CreateDIBSection32 (HDC32 hdc, BITMAPINFO *bmi, UINT32 usage,
...
@@ -999,7 +999,7 @@ HBITMAP32 WINAPI CreateDIBSection32 (HDC32 hdc, BITMAPINFO *bmi, UINT32 usage,
/* Clean up in case of errors */
/* Clean up in case of errors */
if
(
!
res
||
!
bmp
||
!
dib
||
!
bm
.
bmBits
||
(
bm
.
bmBitsPixel
<=
8
&&
!
colorMap
))
if
(
!
res
||
!
bmp
||
!
dib
||
!
bm
.
bmBits
||
(
bm
.
bmBitsPixel
<=
8
&&
!
colorMap
))
{
{
TRACE
(
bitmap
,
"got an error res=%
lu
, bmp=%p, dib=%p, bm.bmBits=%p
\n
"
,
TRACE
(
bitmap
,
"got an error res=%
08x
, bmp=%p, dib=%p, bm.bmBits=%p
\n
"
,
res
,
bmp
,
dib
,
bm
.
bmBits
);
res
,
bmp
,
dib
,
bm
.
bmBits
);
if
(
bm
.
bmBits
)
if
(
bm
.
bmBits
)
{
{
...
...
objects/enhmetafile.c
View file @
7b06d984
...
@@ -514,7 +514,7 @@ UINT32 WINAPI GetEnhMetaFilePaletteEntries(HENHMETAFILE32 hemf,
...
@@ -514,7 +514,7 @@ UINT32 WINAPI GetEnhMetaFilePaletteEntries(HENHMETAFILE32 hemf,
LPPALETTEENTRY
lppe
)
LPPALETTEENTRY
lppe
)
{
{
LPENHMETAHEADER
h
=
GlobalLock32
(
hemf
);
LPENHMETAHEADER
h
=
GlobalLock32
(
hemf
);
UINT32
temp
=
h
->
nPalEntries
;
if
(
h
==
NULL
){
if
(
h
==
NULL
){
GlobalUnlock32
(
hemf
);
GlobalUnlock32
(
hemf
);
return
(
0
);
return
(
0
);
...
@@ -545,7 +545,7 @@ HENHMETAFILE32 WINAPI SetWinMetaFileBits(UINT32 cbBuffer,
...
@@ -545,7 +545,7 @@ HENHMETAFILE32 WINAPI SetWinMetaFileBits(UINT32 cbBuffer,
)
)
{
{
FIXME
(
metafile
,
"Stub
\n
"
);
FIXME
(
metafile
,
"Stub
\n
"
);
return
NULL
;
return
0
;
}
}
...
...
win32/console.c
View file @
7b06d984
...
@@ -217,7 +217,8 @@ BOOL32 WINAPI SetConsoleCtrlHandler( HANDLER_ROUTINE *func, BOOL32 add )
...
@@ -217,7 +217,8 @@ BOOL32 WINAPI SetConsoleCtrlHandler( HANDLER_ROUTINE *func, BOOL32 add )
done
++
;
done
++
;
}
}
if
(
!
done
)
if
(
!
done
)
WARN
(
console
,
"Attempt to remove non-installed CtrlHandler %p
\n
"
);
WARN
(
console
,
"Attempt to remove non-installed CtrlHandler %p
\n
"
,
func
);
return
(
done
);
return
(
done
);
}
}
return
(
done
);
return
(
done
);
...
...
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