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
5664b8ee
Commit
5664b8ee
authored
Sep 29, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 02, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Win64 printf format warning fixes.
parent
3004cbda
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
27 deletions
+27
-27
Makefile.in
server/Makefile.in
+1
-1
registry.c
server/registry.c
+1
-1
trace.c
server/trace.c
+25
-25
No files found.
server/Makefile.in
View file @
5664b8ee
DEFS
=
-D__WINESRC__
-DWINE_NO_LONG_AS_INT
DEFS
=
-D__WINESRC__
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
..
SRCDIR
=
@srcdir@
...
...
server/registry.c
View file @
5664b8ee
...
...
@@ -210,7 +210,7 @@ static void dump_value( const struct key_value *value, FILE *f )
{
DWORD
dw
;
memcpy
(
&
dw
,
value
->
data
,
sizeof
(
DWORD
)
);
fprintf
(
f
,
"dword:%08
l
x"
,
dw
);
fprintf
(
f
,
"dword:%08x"
,
dw
);
break
;
}
/* else fall through */
...
...
server/trace.c
View file @
5664b8ee
...
...
@@ -99,9 +99,9 @@ static void dump_char_info( const char_info_t *info )
static
void
dump_context
(
const
CONTEXT
*
context
)
{
#ifdef __i386__
fprintf
(
stderr
,
"{flags=%08
lx,eax=%08lx,ebx=%08lx,ecx=%08lx,edx=%08lx,esi=%08lx,edi=%08l
x,"
"ebp=%08
lx,eip=%08lx,esp=%08lx,eflags=%08lx,cs=%04lx,ds=%04lx,es=%04l
x,"
"fs=%04
lx,gs=%04lx,dr0=%08lx,dr1=%08lx,dr2=%08lx,dr3=%08lx,dr6=%08lx,dr7=%08l
x,"
,
fprintf
(
stderr
,
"{flags=%08
x,eax=%08x,ebx=%08x,ecx=%08x,edx=%08x,esi=%08x,edi=%08
x,"
"ebp=%08
x,eip=%08x,esp=%08x,eflags=%08x,cs=%04x,ds=%04x,es=%04
x,"
"fs=%04
x,gs=%04x,dr0=%08x,dr1=%08x,dr2=%08x,dr3=%08x,dr6=%08x,dr7=%08
x,"
,
context
->
ContextFlags
,
context
->
Eax
,
context
->
Ebx
,
context
->
Ecx
,
context
->
Edx
,
context
->
Esi
,
context
->
Edi
,
context
->
Ebp
,
context
->
Eip
,
context
->
Esp
,
context
->
EFlags
,
context
->
SegCs
,
context
->
SegDs
,
context
->
SegEs
,
context
->
SegFs
,
context
->
SegGs
,
...
...
@@ -117,7 +117,7 @@ static void dump_context( const CONTEXT *context )
static
void
dump_exc_record
(
const
EXCEPTION_RECORD
*
rec
)
{
unsigned
int
i
;
fprintf
(
stderr
,
"{code=%
lx,flags=%l
x,rec=%p,addr=%p,params={"
,
fprintf
(
stderr
,
"{code=%
x,flags=%
x,rec=%p,addr=%p,params={"
,
rec
->
ExceptionCode
,
rec
->
ExceptionFlags
,
rec
->
ExceptionRecord
,
rec
->
ExceptionAddress
);
for
(
i
=
0
;
i
<
min
(
rec
->
NumberParameters
,
EXCEPTION_MAXIMUM_PARAMETERS
);
i
++
)
...
...
@@ -319,25 +319,25 @@ static void dump_varargs_startup_info( data_size_t size )
memset
(
&
params
,
0
,
sizeof
(
params
)
);
memcpy
(
&
params
,
ptr
,
min
(
size
,
sizeof
(
params
)
));
fprintf
(
stderr
,
"{AllocationSize=%
l
x,"
,
params
.
AllocationSize
);
fprintf
(
stderr
,
"Size=%
l
x,"
,
params
.
Size
);
fprintf
(
stderr
,
"Flags=%
l
x,"
,
params
.
Flags
);
fprintf
(
stderr
,
"DebugFlags=%
l
x,"
,
params
.
DebugFlags
);
fprintf
(
stderr
,
"{AllocationSize=%x,"
,
params
.
AllocationSize
);
fprintf
(
stderr
,
"Size=%x,"
,
params
.
Size
);
fprintf
(
stderr
,
"Flags=%x,"
,
params
.
Flags
);
fprintf
(
stderr
,
"DebugFlags=%x,"
,
params
.
DebugFlags
);
fprintf
(
stderr
,
"ConsoleHandle=%p,"
,
params
.
ConsoleHandle
);
fprintf
(
stderr
,
"ConsoleFlags=%
l
x,"
,
params
.
ConsoleFlags
);
fprintf
(
stderr
,
"ConsoleFlags=%x,"
,
params
.
ConsoleFlags
);
fprintf
(
stderr
,
"hStdInput=%p,"
,
params
.
hStdInput
);
fprintf
(
stderr
,
"hStdOutput=%p,"
,
params
.
hStdOutput
);
fprintf
(
stderr
,
"hStdError=%p,"
,
params
.
hStdError
);
fprintf
(
stderr
,
"CurrentDirectory.Handle=%p,"
,
params
.
CurrentDirectory
.
Handle
);
fprintf
(
stderr
,
"dwX=%
l
d,"
,
params
.
dwX
);
fprintf
(
stderr
,
"dwY=%
l
d,"
,
params
.
dwY
);
fprintf
(
stderr
,
"dwXSize=%
l
d,"
,
params
.
dwXSize
);
fprintf
(
stderr
,
"dwYSize=%
l
d,"
,
params
.
dwYSize
);
fprintf
(
stderr
,
"dwXCountChars=%
l
d,"
,
params
.
dwXCountChars
);
fprintf
(
stderr
,
"dwYCountChars=%
l
d,"
,
params
.
dwYCountChars
);
fprintf
(
stderr
,
"dwFillAttribute=%
l
x,"
,
params
.
dwFillAttribute
);
fprintf
(
stderr
,
"dwFlags=%
l
x,"
,
params
.
dwFlags
);
fprintf
(
stderr
,
"wShowWindow=%
l
x,"
,
params
.
wShowWindow
);
fprintf
(
stderr
,
"dwX=%d,"
,
params
.
dwX
);
fprintf
(
stderr
,
"dwY=%d,"
,
params
.
dwY
);
fprintf
(
stderr
,
"dwXSize=%d,"
,
params
.
dwXSize
);
fprintf
(
stderr
,
"dwYSize=%d,"
,
params
.
dwYSize
);
fprintf
(
stderr
,
"dwXCountChars=%d,"
,
params
.
dwXCountChars
);
fprintf
(
stderr
,
"dwYCountChars=%d,"
,
params
.
dwYCountChars
);
fprintf
(
stderr
,
"dwFillAttribute=%x,"
,
params
.
dwFillAttribute
);
fprintf
(
stderr
,
"dwFlags=%x,"
,
params
.
dwFlags
);
fprintf
(
stderr
,
"wShowWindow=%x,"
,
params
.
wShowWindow
);
fprintf
(
stderr
,
"CurrentDirectory.DosPath=L
\"
"
);
dump_inline_unicode_string
(
&
params
.
CurrentDirectory
.
DosPath
,
cur_data
,
size
);
fprintf
(
stderr
,
"
\"
,DllPath=L
\"
"
);
...
...
@@ -414,7 +414,7 @@ static void dump_varargs_LUID_AND_ATTRIBUTES( data_size_t size )
fputc
(
'{'
,
stderr
);
while
(
len
>
0
)
{
fprintf
(
stderr
,
"{luid=%08
lx%08lx,attr=%l
x}"
,
fprintf
(
stderr
,
"{luid=%08
x%08x,attr=%
x}"
,
lat
->
Luid
.
HighPart
,
lat
->
Luid
.
LowPart
,
lat
->
Attributes
);
lat
++
;
if
(
--
len
)
fputc
(
','
,
stderr
);
...
...
@@ -436,13 +436,13 @@ static void dump_inline_sid( const SID *sid, data_size_t size )
}
fputc
(
'{'
,
stderr
);
fprintf
(
stderr
,
"S-%u-%
l
u"
,
sid
->
Revision
,
MAKELONG
(
fprintf
(
stderr
,
"S-%u-%u"
,
sid
->
Revision
,
MAKELONG
(
MAKEWORD
(
sid
->
IdentifierAuthority
.
Value
[
5
],
sid
->
IdentifierAuthority
.
Value
[
4
]
),
MAKEWORD
(
sid
->
IdentifierAuthority
.
Value
[
3
],
sid
->
IdentifierAuthority
.
Value
[
2
]
)
)
);
for
(
i
=
0
;
i
<
sid
->
SubAuthorityCount
;
i
++
)
fprintf
(
stderr
,
"-%
l
u"
,
sid
->
SubAuthority
[
i
]
);
fprintf
(
stderr
,
"-%u"
,
sid
->
SubAuthority
[
i
]
);
fputc
(
'}'
,
stderr
);
}
...
...
@@ -485,25 +485,25 @@ static void dump_inline_acl( const ACL *acl, data_size_t size )
case
ACCESS_DENIED_ACE_TYPE
:
sid
=
(
const
SID
*
)
&
((
const
ACCESS_DENIED_ACE
*
)
ace
)
->
SidStart
;
sid_size
=
ace
->
AceSize
-
FIELD_OFFSET
(
ACCESS_DENIED_ACE
,
SidStart
);
fprintf
(
stderr
,
"ACCESS_DENIED_ACE_TYPE,Mask=%
l
x"
,
fprintf
(
stderr
,
"ACCESS_DENIED_ACE_TYPE,Mask=%x"
,
((
const
ACCESS_DENIED_ACE
*
)
ace
)
->
Mask
);
break
;
case
ACCESS_ALLOWED_ACE_TYPE
:
sid
=
(
const
SID
*
)
&
((
const
ACCESS_ALLOWED_ACE
*
)
ace
)
->
SidStart
;
sid_size
=
ace
->
AceSize
-
FIELD_OFFSET
(
ACCESS_ALLOWED_ACE
,
SidStart
);
fprintf
(
stderr
,
"ACCESS_ALLOWED_ACE_TYPE,Mask=%
l
x"
,
fprintf
(
stderr
,
"ACCESS_ALLOWED_ACE_TYPE,Mask=%x"
,
((
const
ACCESS_ALLOWED_ACE
*
)
ace
)
->
Mask
);
break
;
case
SYSTEM_AUDIT_ACE_TYPE
:
sid
=
(
const
SID
*
)
&
((
const
SYSTEM_AUDIT_ACE
*
)
ace
)
->
SidStart
;
sid_size
=
ace
->
AceSize
-
FIELD_OFFSET
(
SYSTEM_AUDIT_ACE
,
SidStart
);
fprintf
(
stderr
,
"SYSTEM_AUDIT_ACE_TYPE,Mask=%
l
x"
,
fprintf
(
stderr
,
"SYSTEM_AUDIT_ACE_TYPE,Mask=%x"
,
((
const
SYSTEM_AUDIT_ACE
*
)
ace
)
->
Mask
);
break
;
case
SYSTEM_ALARM_ACE_TYPE
:
sid
=
(
const
SID
*
)
&
((
const
SYSTEM_ALARM_ACE
*
)
ace
)
->
SidStart
;
sid_size
=
ace
->
AceSize
-
FIELD_OFFSET
(
SYSTEM_ALARM_ACE
,
SidStart
);
fprintf
(
stderr
,
"SYSTEM_ALARM_ACE_TYPE,Mask=%
l
x"
,
fprintf
(
stderr
,
"SYSTEM_ALARM_ACE_TYPE,Mask=%x"
,
((
const
SYSTEM_ALARM_ACE
*
)
ace
)
->
Mask
);
break
;
default:
...
...
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