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
90059419
Commit
90059419
authored
Jul 01, 2013
by
André Hentschel
Committed by
Alexandre Julliard
Jul 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Remove superfluous casts.
parent
cde84a7b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tlb.c
tools/winedump/tlb.c
+3
-3
No files found.
tools/winedump/tlb.c
View file @
90059419
...
@@ -82,19 +82,19 @@ static const void *tlb_read(int size) {
...
@@ -82,19 +82,19 @@ static const void *tlb_read(int size) {
static
int
tlb_read_int
(
void
)
static
int
tlb_read_int
(
void
)
{
{
const
int
*
ret
=
(
const
int
*
)
tlb_read
(
sizeof
(
int
));
const
int
*
ret
=
tlb_read
(
sizeof
(
int
));
return
ret
?
*
ret
:
-
1
;
return
ret
?
*
ret
:
-
1
;
}
}
static
int
tlb_read_short
(
void
)
static
int
tlb_read_short
(
void
)
{
{
const
short
*
ret
=
(
const
short
*
)
tlb_read
(
sizeof
(
short
));
const
short
*
ret
=
tlb_read
(
sizeof
(
short
));
return
ret
?
*
ret
:
-
1
;
return
ret
?
*
ret
:
-
1
;
}
}
static
int
tlb_read_byte
(
void
)
static
int
tlb_read_byte
(
void
)
{
{
const
unsigned
char
*
ret
=
(
const
unsigned
char
*
)
tlb_read
(
sizeof
(
char
));
const
unsigned
char
*
ret
=
tlb_read
(
sizeof
(
char
));
return
ret
?
*
ret
:
-
1
;
return
ret
?
*
ret
:
-
1
;
}
}
...
...
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