Instruction pointer gets negative values too.

This commit is contained in:
Marcello Stanisci 2018-06-28 21:35:43 +02:00
parent 6c72d7a1a0
commit b9fa9bc48b
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -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