-
-
Notifications
You must be signed in to change notification settings - Fork 135
Closed
Labels
Description
When compiling for 32bit these two lines will fail at runtime:
cpptrace/src/symbols/symbols_with_dbghelp.cpp
Lines 340 to 341 in c7ff8cb
| IMAGEHLP_LINE64 line; | |
| bool got_line = SymGetLineFromAddr64(proc, addr, &displacement.b, &line); |
There is a macro in DbgHelp.h (already included), which automaticity choses the right type.
So they just need to be replace with:
IMAGEHLP_LINE line;
bool got_line = SymGetLineFromAddr(proc, addr, &displacement.b, &line);