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
76fdac03
Commit
76fdac03
authored
Jul 21, 2005
by
Stefan Huehner
Committed by
Alexandre Julliard
Jul 21, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some -Wsign-compare warnings.
parent
4605b955
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
le.c
tools/winedump/le.c
+2
-2
minidump.c
tools/winedump/minidump.c
+5
-5
No files found.
tools/winedump/le.c
View file @
76fdac03
...
...
@@ -229,13 +229,13 @@ static void dump_le_header( const IMAGE_VXD_HEADER *le )
static
void
dump_le_objects
(
const
void
*
base
,
const
IMAGE_VXD_HEADER
*
le
)
{
struct
o32_obj
*
pobj
;
int
i
;
unsigned
int
i
;
printf
(
"
\n
Object table:
\n
"
);
pobj
=
(
struct
o32_obj
*
)((
const
unsigned
char
*
)
le
+
le
->
e32_objtab
);
for
(
i
=
0
;
i
<
le
->
e32_objcnt
;
i
++
)
{
int
j
;
unsigned
int
j
;
struct
o32_map
*
pmap
=
0
;
printf
(
" Obj. Rel.Base Codesize Flags Tableidx Tablesize Name
\n
"
);
...
...
tools/winedump/minidump.c
View file @
76fdac03
...
...
@@ -47,7 +47,7 @@ static void dump_mdmp_string(DWORD rva)
static
MINIDUMP_DIRECTORY
*
get_mdmp_dir
(
const
MINIDUMP_HEADER
*
hdr
,
int
str_idx
)
{
MINIDUMP_DIRECTORY
*
dir
;
int
i
;
unsigned
int
i
;
for
(
i
=
0
;
i
<
hdr
->
NumberOfStreams
;
i
++
)
{
...
...
@@ -92,7 +92,7 @@ void mdmp_dump(void)
{
MINIDUMP_THREAD_LIST
*
mtl
=
(
MINIDUMP_THREAD_LIST
*
)
stream
;
MINIDUMP_THREAD
*
mt
=
&
mtl
->
Threads
[
0
];
int
i
;
unsigned
int
i
;
printf
(
"Threads: %lu
\n
"
,
mtl
->
NumberOfThreads
);
for
(
i
=
0
;
i
<
mtl
->
NumberOfThreads
;
i
++
,
mt
++
)
...
...
@@ -117,7 +117,7 @@ void mdmp_dump(void)
{
MINIDUMP_MODULE_LIST
*
mml
=
(
MINIDUMP_MODULE_LIST
*
)
stream
;
MINIDUMP_MODULE
*
mm
=
&
mml
->
Modules
[
0
];
int
i
;
unsigned
int
i
;
const
char
*
p1
;
const
char
*
p2
;
...
...
@@ -209,7 +209,7 @@ void mdmp_dump(void)
{
MINIDUMP_MEMORY_LIST
*
mml
=
(
MINIDUMP_MEMORY_LIST
*
)
stream
;
MINIDUMP_MEMORY_DESCRIPTOR
*
mmd
=
&
mml
->
MemoryRanges
[
0
];
int
i
;
unsigned
int
i
;
printf
(
"Memory Ranges: %lu
\n
"
,
mml
->
NumberOfMemoryRanges
);
for
(
i
=
0
;
i
<
mml
->
NumberOfMemoryRanges
;
i
++
,
mmd
++
)
...
...
@@ -338,7 +338,7 @@ void mdmp_dump(void)
case
ExceptionStream
:
{
MINIDUMP_EXCEPTION_STREAM
*
mes
=
(
MINIDUMP_EXCEPTION_STREAM
*
)
stream
;
int
i
;
unsigned
int
i
;
printf
(
"Exception:
\n
"
);
printf
(
" ThreadId: %08lx
\n
"
,
mes
->
ThreadId
);
...
...
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