fix Makefile clean, fix compilation warnings

This commit is contained in:
2020-02-05 16:30:40 +04:00
parent cdacdce8e5
commit 80a4df4373
4 changed files with 24 additions and 21 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ int find_regnum(uint32_t op)
pst_reg_error pst_get_reg(pst_context* ctx, int regno, uint64_t* regval)
{
#ifdef USE_LIBUNWIND
int ret = unw_get_reg(ctx->curr_frame, regno, &regval);
int ret = unw_get_reg(ctx->curr_frame, regno, regval);
switch (ret) {
case UNW_EUNSPEC:
return REG_CFI_ERROR;