Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
262b3bb5
Commit
262b3bb5
authored
Dec 12, 2022
by
Huw Davies
Committed by
Alexandre Julliard
Dec 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac: Fix printf format warnings in mouse.c.
parent
0553cbe7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
mouse.c
dlls/winemac.drv/mouse.c
+5
-5
No files found.
dlls/winemac.drv/mouse.c
View file @
262b3bb5
...
...
@@ -274,7 +274,7 @@ CFArrayRef create_monochrome_cursor(HDC hdc, const ICONINFOEXW *icon, int width,
CFArrayRef
frames
;
TRACE
(
"hdc %p icon->hbmMask %p icon->xHotspot %d icon->yHotspot %d width %d height %d
\n
"
,
hdc
,
icon
->
hbmMask
,
icon
->
xHotspot
,
icon
->
yHotspot
,
width
,
height
);
hdc
,
icon
->
hbmMask
,
(
int
)
icon
->
xHotspot
,
(
int
)
icon
->
yHotspot
,
width
,
height
);
info
->
bmiHeader
.
biSize
=
sizeof
(
BITMAPINFOHEADER
);
info
->
bmiHeader
.
biWidth
=
width
;
...
...
@@ -484,7 +484,7 @@ static CFDictionaryRef create_cursor_frame(HDC hdc, const ICONINFOEXW *iinfo, HA
TRACE
(
"hdc %p iinfo->xHotspot %d iinfo->yHotspot %d icon %p hbmColor %p color_bits %p color_size %d"
" hbmMask %p mask_bits %p mask_size %d width %d height %d istep %d
\n
"
,
hdc
,
iinfo
->
xHotspot
,
iinfo
->
yHotspot
,
icon
,
hbmColor
,
color_bits
,
color_size
,
hdc
,
(
int
)
iinfo
->
xHotspot
,
(
int
)
iinfo
->
yHotspot
,
icon
,
hbmColor
,
color_bits
,
color_size
,
hbmMask
,
mask_bits
,
mask_size
,
width
,
height
,
istep
);
frame
=
CFDictionaryCreateMutable
(
NULL
,
0
,
&
kCFCopyStringDictionaryKeyCallBacks
,
...
...
@@ -631,7 +631,7 @@ cleanup:
frames
=
NULL
;
}
else
TRACE
(
"returning cursor with %d frames
\n
"
,
nFrames
);
TRACE
(
"returning cursor with %d frames
\n
"
,
(
int
)
nFrames
);
/* Cleanup all of the resources used to obtain the frame data */
if
(
hbmColor
)
NtGdiDeleteObjectApp
(
hbmColor
);
if
(
hbmMask
)
NtGdiDeleteObjectApp
(
hbmMask
);
...
...
@@ -691,7 +691,7 @@ BOOL macdrv_GetCursorPos(LPPOINT pos)
ret
=
macdrv_get_cursor_position
(
&
pt
);
if
(
ret
)
{
TRACE
(
"pointer at (%g,%g) server pos %d,%d
\n
"
,
pt
.
x
,
pt
.
y
,
pos
->
x
,
pos
->
y
);
TRACE
(
"pointer at (%g,%g) server pos %d,%d
\n
"
,
pt
.
x
,
pt
.
y
,
(
int
)
pos
->
x
,
(
int
)
pos
->
y
);
pos
->
x
=
floor
(
pt
.
x
);
pos
->
y
=
floor
(
pt
.
y
);
}
...
...
@@ -957,6 +957,6 @@ void macdrv_release_capture(HWND hwnd, const macdrv_event *event)
{
NtUserReleaseCapture
();
if
(
!
NtUserPostMessage
(
capture
,
WM_CANCELMODE
,
0
,
0
))
WARN
(
"failed to post WM_CANCELMODE; error 0x%08x
\n
"
,
RtlGetLastWin32Error
());
WARN
(
"failed to post WM_CANCELMODE; error 0x%08x
\n
"
,
(
unsigned
int
)
RtlGetLastWin32Error
());
}
}
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