aboutsummaryrefslogtreecommitdiff
path: root/lib/arm
diff options
context:
space:
mode:
authorYifan Lu2016-10-23 11:10:50 -0700
committerYifan Lu2016-10-23 11:10:50 -0700
commitc2d864c53c26b4b168b32fa18bf7f5dfbefb30de (patch)
tree5269c46175114c0a722e05aa7f90b0ed17f771b3 /lib/arm
parentAdded execmem foreign write for Vita (diff)
downloadsubstitute-c2d864c53c26b4b168b32fa18bf7f5dfbefb30de.tar.gz
Fixed warning about unused function
Fixed warning about incompatible types
Diffstat (limited to 'lib/arm')
-rw-r--r--lib/arm/arch-transform-dis.inc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arm/arch-transform-dis.inc.h b/lib/arm/arch-transform-dis.inc.h
index 4c44913..aa56a9c 100644
--- a/lib/arm/arch-transform-dis.inc.h
+++ b/lib/arm/arch-transform-dis.inc.h
@@ -36,7 +36,7 @@ void transform_dis_data(struct transform_dis_ctx *ctx, unsigned o0, unsigned o1,
/* We only care if at least one op is PC, so quickly approximate that. */
if (((o0 | o1 | o2 | o3) & 15) != 15)
return;
- unsigned *newval = ctx->base.newval;
+ uint32_t *newval = ctx->base.newval;
newval[0] = o0;
newval[1] = o1;
newval[2] = o2;