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
a1568206
Commit
a1568206
authored
Oct 02, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 03, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
icinfo: Win64 printf format warning fixes.
parent
fe23cd26
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Makefile.in
programs/icinfo/Makefile.in
+0
-1
icinfo.c
programs/icinfo/icinfo.c
+3
-3
No files found.
programs/icinfo/Makefile.in
View file @
a1568206
...
@@ -5,7 +5,6 @@ VPATH = @srcdir@
...
@@ -5,7 +5,6 @@ VPATH = @srcdir@
MODULE
=
icinfo.exe
MODULE
=
icinfo.exe
APPMODE
=
-mwindows
APPMODE
=
-mwindows
IMPORTS
=
msvfw32 kernel32
IMPORTS
=
msvfw32 kernel32
EXTRADEFS
=
-DWINE_NO_LONG_AS_INT
C_SRCS
=
icinfo.c
C_SRCS
=
icinfo.c
...
...
programs/icinfo/icinfo.c
View file @
a1568206
...
@@ -53,7 +53,7 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
...
@@ -53,7 +53,7 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
memcpy
(
type
,
&
(
ii
.
fccType
),
4
);
type
[
4
]
=
'\0'
;
memcpy
(
type
,
&
(
ii
.
fccType
),
4
);
type
[
4
]
=
'\0'
;
memcpy
(
handler
,
&
(
ii
.
fccHandler
),
4
);
handler
[
4
]
=
'\0'
;
memcpy
(
handler
,
&
(
ii
.
fccHandler
),
4
);
handler
[
4
]
=
'\0'
;
printf
(
"%s.%s: %s
\n
"
,
type
,
handler
,
buf
);
printf
(
"%s.%s: %s
\n
"
,
type
,
handler
,
buf
);
printf
(
"
\t
dwFlags: 0x%08
l
x ("
,
ii
.
dwFlags
);
printf
(
"
\t
dwFlags: 0x%08x ("
,
ii
.
dwFlags
);
#define XX(x) if (ii.dwFlags & x) printf(#x" ");
#define XX(x) if (ii.dwFlags & x) printf(#x" ");
XX
(
VIDCF_QUALITY
);
XX
(
VIDCF_QUALITY
);
XX
(
VIDCF_CRUNCH
);
XX
(
VIDCF_CRUNCH
);
...
@@ -65,8 +65,8 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
...
@@ -65,8 +65,8 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
XX
(
VIDCF_QUALITYTIME
);
XX
(
VIDCF_QUALITYTIME
);
#undef XX
#undef XX
printf
(
")
\n
"
);
printf
(
")
\n
"
);
printf
(
"
\t
dwVersion: 0x%08
l
x
\n
"
,
ii
.
dwVersion
);
printf
(
"
\t
dwVersion: 0x%08x
\n
"
,
ii
.
dwVersion
);
printf
(
"
\t
dwVersionICM: 0x%08
l
x
\n
"
,
ii
.
dwVersionICM
);
printf
(
"
\t
dwVersionICM: 0x%08x
\n
"
,
ii
.
dwVersionICM
);
w2s
(
ii
.
szDescription
,
buf
);
w2s
(
ii
.
szDescription
,
buf
);
printf
(
"
\t
szDescription: %s
\n
"
,
buf
);
printf
(
"
\t
szDescription: %s
\n
"
,
buf
);
if
(
doabout
)
ICAbout
(
hic
,
0
);
if
(
doabout
)
ICAbout
(
hic
,
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