Skip to content
Snippets Groups Projects
Commit 193d0921 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard
Browse files

winedump: Avoid sign extension in tlb_read_short().


tlb_read_byte() already behaves this way.

Signed-off-by: default avatarDmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: default avatarJacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 3e6b1296
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment