Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'agent/tcf/services/vm.c')
-rw-r--r--agent/tcf/services/vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/tcf/services/vm.c b/agent/tcf/services/vm.c
index 07405c7c..2f6dbf02 100644
--- a/agent/tcf/services/vm.c
+++ b/agent/tcf/services/vm.c
@@ -385,7 +385,7 @@ static void evaluate_expression(void) {
case OP_bra:
check_e_stack(1);
{
- unsigned offs = (int16_t)read_u2();
+ size_t offs = (int16_t)read_u2();
if (state->stk[state->stk_pos - 1]) {
code_pos += offs;
if (code_pos > code_len) inv_dwarf("Invalid command");

Back to the top