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:
Dmitry Timoshkov 2018-07-10 11:41:22 +08:00 committed by Alexandre Julliard
parent 3e6b1296c1
commit 193d0921c9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}