Skip to content

Commit

Permalink
fix 32-bit build
Browse files Browse the repository at this point in the history
  • Loading branch information
peadar committed Apr 20, 2024
1 parent 3e757a8 commit 26f9a33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dead.cc
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ CoreProcess::getRegs(lwpid_t lwpid, int code, size_t size, void *data)
size = std::min(size, sizeof prstatus.pr_reg);
memcpy(data, &prstatus.pr_reg, size);
} else {
size = std::min(size, notes[i].data()->size());
size = std::min(size, size_t(notes[i].data()->size()));
notes[i].data()->read(0, size, (char *)data);
}
return size;
Expand Down

0 comments on commit 26f9a33

Please sign in to comment.