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
796a93ff
Commit
796a93ff
authored
Oct 06, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
serialui: Win64 printf format warning fixes.
parent
72ed451b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
Makefile.in
dlls/serialui/Makefile.in
+0
-1
confdlg.c
dlls/serialui/confdlg.c
+6
-6
No files found.
dlls/serialui/Makefile.in
View file @
796a93ff
...
...
@@ -5,7 +5,6 @@ VPATH = @srcdir@
MODULE
=
serialui.dll
IMPORTLIB
=
libserialui.
$(IMPLIBEXT)
IMPORTS
=
user32 advapi32 kernel32
EXTRADEFS
=
-DWINE_NO_LONG_AS_INT
C_SRCS
=
\
confdlg.c
...
...
dlls/serialui/confdlg.c
View file @
796a93ff
...
...
@@ -64,7 +64,7 @@ HMODULE SERIALUI_hModule = 0;
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"%p,%
l
x,%p
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
TRACE
(
"%p,%x,%p
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
switch
(
fdwReason
)
{
case
DLL_PROCESS_ATTACH
:
...
...
@@ -177,13 +177,13 @@ static BOOL SERIALUI_GetConfItems(HWND hDlg, DWORD id, LPCPARAM2STR table, LPDWO
if
(
(
!
hControl
)
||
(
!
lpdwVal
))
{
TRACE
(
"Couldn't get window handle for item %
l
x
\n
"
,
id
);
TRACE
(
"Couldn't get window handle for item %x
\n
"
,
id
);
return
FALSE
;
}
if
(
!
GetWindowTextA
(
hControl
,
&
lpEntry
[
0
],
sizeof
(
lpEntry
)))
{
TRACE
(
"Couldn't get window text for item %
l
x
\n
"
,
id
);
TRACE
(
"Couldn't get window text for item %x
\n
"
,
id
);
return
FALSE
;
}
/* TRACE("%ld contains %s\n",id, lpEntry); */
...
...
@@ -293,7 +293,7 @@ static void SERIALUI_DialogInfoToDCB(HWND hDlg, SERIALUI_DialogInfo *info)
SERIALUI_GetConfItems
(
hDlg
,
IDC_DATA
,
&
SERIALUI_Data2Str
,
&
dwByteSize
);
SERIALUI_GetConfItems
(
hDlg
,
IDC_FLOW
,
&
SERIALUI_Flow2Str
,
&
dwFlowControl
);
TRACE
(
"baud=%
ld stop=%ld parity=%ld data=%ld flow=%l
d
\n
"
,
TRACE
(
"baud=%
d stop=%d parity=%d data=%d flow=%
d
\n
"
,
dwBaudRate
,
dwStopBits
,
dwParity
,
dwByteSize
,
dwFlowControl
);
lpdcb
->
BaudRate
=
dwBaudRate
;
...
...
@@ -488,7 +488,7 @@ BOOL WINAPI drvSetDefaultCommConfigW(
DWORD
r
,
dwDCBSize
;
static
const
WCHAR
fmt
[]
=
{
'%'
,
's'
,
'\\'
,
'%'
,
's'
,
0
};
TRACE
(
"%p %p %
l
x
\n
"
,
lpszDevice
,
lpCommConfig
,
dwSize
);
TRACE
(
"%p %p %x
\n
"
,
lpszDevice
,
lpCommConfig
,
dwSize
);
if
(
!
lpCommConfig
)
return
FALSE
;
...
...
@@ -507,7 +507,7 @@ BOOL WINAPI drvSetDefaultCommConfigW(
dwDCBSize
=
sizeof
(
DCB
);
r
=
RegSetValueExW
(
hKeyPort
,
lpszDCB
,
0
,
REG_BINARY
,
(
LPBYTE
)
&
lpCommConfig
->
dcb
,
dwDCBSize
);
TRACE
(
"write key r=%
l
d
\n
"
,
r
);
TRACE
(
"write key r=%d
\n
"
,
r
);
RegCloseKey
(
hKeyPort
);
}
...
...
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