Fix build

This commit is contained in:
pancake 2016-02-25 10:57:15 +01:00
parent 4a146f8158
commit 0973759a8c

View File

@ -61,12 +61,12 @@ R_API int r_debug_reg_list(RDebug *dbg, int type, int size, int rad, const char
RPrint *pr = NULL;
ut64 diff;
if (!dbg || !dbg->reg || !dbg->corebind)
if (!dbg || !dbg->reg) {
return false;
}
RCore *core = dbg->corebind.core;
if (core) {
pr = core->print;
if (dbg->corebind.core) {
pr = ((RCore*)dbg->corebind.core)->print;
}
if (!(dbg->reg->bits & size)) {