Commit 90059419 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

winedump: Remove superfluous casts.

parent cde84a7b
...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment