winedump: Avoid sign extension in tlb_read_short().
tlb_read_byte() already behaves this way. Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3e6b1296c1
commit
193d0921c9
|
@ -160,7 +160,7 @@ static int tlb_read_int(void)
|
|||
|
||||
static int tlb_read_short(void)
|
||||
{
|
||||
const short *ret = tlb_read(sizeof(short));
|
||||
const unsigned short *ret = tlb_read(sizeof(short));
|
||||
return ret ? *ret : -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue