aboutsummaryrefslogtreecommitdiff
path: root/chapters/control_flow.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'chapters/control_flow.adoc')
-rw-r--r--chapters/control_flow.adoc2
1 files changed, 1 insertions, 1 deletions
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]) {