aboutsummaryrefslogtreecommitdiff
path: root/chapters/control_flow.adoc
diff options
context:
space:
mode:
authorDominic Symes <dominic.symes@arm.com>2022-04-29 16:15:56 +0100
committerDominic Symes <dominic.symes@arm.com>2022-05-03 13:36:22 +0000
commitcb6c6b33cc85d6c40d46b1ee78bcbd6a049017d5 (patch)
tree94988082f976e28f25cc13c0331efd119f83b3f2 /chapters/control_flow.adoc
parent5de08d1db3c1de4fddf3f4bb7a286db35cb9f9d1 (diff)
downloadspecification-cb6c6b33cc85d6c40d46b1ee78bcbd6a049017d5.tar.gz
Specify width of integer types
Clarify for types previously definded as int the width assumed by the specification. Signed-off-by: Dominic Symes <dominic.symes@arm.com> Change-Id: Ied62d4803a4323a600d33cff09752a76ca48f18d
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]) {