aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/binary_search
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-04-06 09:07:17 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-04-06 09:07:17 +0200
commit6cf0154c1f00e0479c9bb1561944cb3b238a9e26 (patch)
treef49f94a790129549808fe7410b63c0e4389caad3 /test/monniaux/binary_search
parentc31a684212cfc53bd2bcb3a918490246546328eb (diff)
downloadcompcert-kvx-6cf0154c1f00e0479c9bb1561944cb3b238a9e26.tar.gz
compcert-kvx-6cf0154c1f00e0479c9bb1561944cb3b238a9e26.zip
no need for this to be in two_address_op
Diffstat (limited to 'test/monniaux/binary_search')
-rw-r--r--test/monniaux/binary_search/binary_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/monniaux/binary_search/binary_search.c b/test/monniaux/binary_search/binary_search.c
index 9b54f28d..1fbc37b8 100644
--- a/test/monniaux/binary_search/binary_search.c
+++ b/test/monniaux/binary_search/binary_search.c
@@ -4,7 +4,7 @@
#include "../clock.h"
typedef int data;
-typedef int index;
+typedef unsigned index;
int my_bsearch (data *a, index n, data x) {
index i = 0, j = n - 1;