Skip to content
Snippets Groups Projects
Commit acc81bab authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard
Browse files

Added two missing casts.

parent 34ce34ed
No related branches found
No related tags found
No related merge requests found
......@@ -1357,7 +1357,7 @@ static BOOL DEBUG_WalkList(struct r_debug* dbg_hdr)
lm.l_name != NULL &&
DEBUG_READ_MEM_VERBOSE(lm.l_name, bufstr, sizeof(bufstr))) {
bufstr[sizeof(bufstr) - 1] = '\0';
DEBUG_ProcessElfObject(bufstr, lm.l_addr);
DEBUG_ProcessElfObject(bufstr, (unsigned)lm.l_addr);
}
}
......@@ -1433,7 +1433,7 @@ DEBUG_ReadExecutableDbgInfo(const char* exe_name)
value.type = NULL;
value.cookie = DV_TARGET;
value.addr.seg = 0;
value.addr.off = dbg_hdr.r_brk;
value.addr.off = (DWORD)dbg_hdr.r_brk;
DEBUG_AddBreakpoint(&value, DEBUG_RescanElf);
DEBUG_SetBreakpoints(TRUE);
}
......
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