From b9fa9bc48bf6263a01aaf53345f51a6c43cf5a4f Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Thu, 28 Jun 2018 21:35:43 +0200 Subject: Instruction pointer gets negative values too. --- src/include/taler_testing_lib.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/include') 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 -- cgit v1.2.3