From cb6c6b33cc85d6c40d46b1ee78bcbd6a049017d5 Mon Sep 17 00:00:00 2001 From: Dominic Symes Date: Fri, 29 Apr 2022 16:15:56 +0100 Subject: Specify width of integer types Clarify for types previously definded as int the width assumed by the specification. Signed-off-by: Dominic Symes Change-Id: Ied62d4803a4323a600d33cff09752a76ca48f18d --- chapters/control_flow.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapters/control_flow.adoc') diff --git a/chapters/control_flow.adoc b/chapters/control_flow.adoc index c9d4e15..e3c7fad 100644 --- a/chapters/control_flow.adoc +++ b/chapters/control_flow.adoc @@ -70,7 +70,7 @@ ERROR_IF(tosa_output_shape(cond_graph) != tosa_list_shape([bool_t])); // The iteration number 'i' is included to give unique names to variables // in each iteration of the loop and is not required by implementations -int i=0; // iteration number +int32_t i=0; // iteration number list[i] = input_list; // copy input data as list[0] tosa_execute_graph(cond_graph, list[i], [condition[i]]); // initial condition while (condition[i]) { -- cgit v1.2.1