Commit 193d0921 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

winedump: Avoid sign extension in tlb_read_short().

tlb_read_byte() already behaves this way. Signed-off-by: 's avatarDmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 3e6b1296
......@@ -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;
}
......
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