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
c8123e9d
Commit
c8123e9d
authored
Oct 02, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 03, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmdlgtst: Win64 printf format warning fixes.
parent
3dbe7152
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
Makefile.in
programs/cmdlgtst/Makefile.in
+0
-1
cmdlgtst.c
programs/cmdlgtst/cmdlgtst.c
+6
-6
No files found.
programs/cmdlgtst/Makefile.in
View file @
c8123e9d
...
...
@@ -5,7 +5,6 @@ VPATH = @srcdir@
MODULE
=
cmdlgtst.exe
APPMODE
=
-mwindows
IMPORTS
=
comdlg32 user32 gdi32 kernel32
EXTRADEFS
=
-DWINE_NO_LONG_AS_INT
C_SRCS
=
\
cmdlgtst.c
...
...
programs/cmdlgtst/cmdlgtst.c
View file @
c8123e9d
...
...
@@ -347,7 +347,7 @@ static void mw_checkError(HWND hWnd, BOOL explicitcancel)
if
(
errval
)
{
char
errbuf
[
80
];
sprintf
(
errbuf
,
"CommDlgExtendedError(): error code %
ld (0x%l
x)"
,
errval
,
errval
);
sprintf
(
errbuf
,
"CommDlgExtendedError(): error code %
d (0x%
x)"
,
errval
,
errval
);
MessageBox
(
hWnd
,
errbuf
,
"Error"
,
MB_ICONEXCLAMATION
|
MB_OK
);
}
else
{
...
...
@@ -493,7 +493,7 @@ static void mw_PageSetup(HWND hWnd)
WINE_TRACE
(
" dmDriverVersion =%#x
\n
"
,
dm
->
dmDriverVersion
);
WINE_TRACE
(
" dmSize =%#x
\n
"
,
dm
->
dmSize
);
WINE_TRACE
(
" dmDriverExtra =%#x
\n
"
,
dm
->
dmDriverExtra
);
WINE_TRACE
(
" dmFields =%#
l
x
\n
"
,
dm
->
dmFields
);
WINE_TRACE
(
" dmFields =%#x
\n
"
,
dm
->
dmFields
);
OF
(
"dmOrientation"
,
u1
.
s1
.
dmOrientation
,
DM_ORIENTATION
)
OF
(
"dmPaperSize"
,
u1
.
s1
.
dmPaperSize
,
DM_PAPERSIZE
);
OF
(
"dmPaperLength"
,
u1
.
s1
.
dmPaperLength
,
DM_PAPERLENGTH
);
...
...
@@ -503,7 +503,7 @@ static void mw_PageSetup(HWND hWnd)
OF
(
"dmDefaultSource"
,
dmDefaultSource
,
DM_DEFAULTSOURCE
);
OF
(
"dmPrintQuality"
,
dmPrintQuality
,
DM_PRINTQUALITY
);
if
(
dm
->
dmFields
&
DM_POSITION
)
WINE_TRACE
(
" dmPosition(%
ld, %l
d)
\n
"
,
dm
->
u1
.
dmPosition
.
x
,
dm
->
u1
.
dmPosition
.
y
);
WINE_TRACE
(
" dmPosition(%
d, %
d)
\n
"
,
dm
->
u1
.
dmPosition
.
x
,
dm
->
u1
.
dmPosition
.
y
);
else
WINE_TRACE
(
" dmPosition NOT SET!
\n
"
);
OF
(
"dmColor"
,
dmColor
,
DM_COLOR
);
...
...
@@ -516,7 +516,7 @@ static void mw_PageSetup(HWND hWnd)
else
WINE_TRACE
(
" dmFormName NOT SET!
\n
"
);
if
(
dm
->
dmFields
&
DM_ICMMETHOD
)
WINE_TRACE
(
" dmICMMethod = %#
l
x
\n
"
,
dm
->
dmICMMethod
);
WINE_TRACE
(
" dmICMMethod = %#x
\n
"
,
dm
->
dmICMMethod
);
else
WINE_TRACE
(
" dmICMMethod NOT SET!"
);
...
...
@@ -526,8 +526,8 @@ static void mw_PageSetup(HWND hWnd)
WINE_TRACE
(
"dm == NULL
\n
"
);
WINE_TRACE
(
"
\n
PAGESETUPDLG struct
\n
"
);
WINE_TRACE
(
" ptPaperSize(%
ld, %l
d)
\n
"
,
psd
.
ptPaperSize
.
x
,
psd
.
ptPaperSize
.
y
);
WINE_TRACE
(
" rtMargin(%
ld, %ld, %ld, %ld)
\n
"
,
WINE_TRACE
(
" ptPaperSize(%
d, %
d)
\n
"
,
psd
.
ptPaperSize
.
x
,
psd
.
ptPaperSize
.
y
);
WINE_TRACE
(
" rtMargin(%
d, %d, %d, %d)
\n
"
,
psd
.
rtMargin
.
left
,
psd
.
rtMargin
.
top
,
psd
.
rtMargin
.
right
,
psd
.
rtMargin
.
bottom
);
WINE_TRACE
(
"
\n
DEVNAMES struct
\n
"
);
...
...
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