aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-06-28 21:35:43 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-06-28 21:35:43 +0200
commitb9fa9bc48bf6263a01aaf53345f51a6c43cf5a4f (patch)
tree9fd671531affbe7480fe571dac6e3ae903587179 /src/include
parent6c72d7a1a0f8981b7f38daf972627922316d5208 (diff)
Instruction pointer gets negative values too.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_testing_lib.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index b63bd8c67..694db70fe 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -190,9 +190,11 @@ struct TALER_TESTING_Interpreter
/**
* Instruction pointer. Tells #interpreter_run() which
- * instruction to run next.
+ * instruction to run next. Need (signed) int because
+ * it gets -1 when rewinding the interpreter to the first
+ * CMD.
*/
- unsigned int ip;
+ int ip;
/**
* Result of the testcases, #GNUNET_OK on success