Commit 8fa31926 authored by David Welch's avatar David Welch Committed by Alexandre Julliard

Fix decoding of thread IDs in the gdbproxy.

parent 1c97e56f
......@@ -126,7 +126,8 @@ static inline unsigned char hex_to0(int x)
static int hex_to_int(const char* src, size_t len){
unsigned int returnval = 0;
while (len--){
returnval=hex_from0(src[0]);
returnval|=hex_from0(src[0]);
src++;
if(len) returnval<<=4;
}
return returnval;
......
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