about summary refs log tree commit diff stats
path: root/cpp/044space_surround.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/044space_surround.cc')
-rw-r--r--cpp/044space_surround.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/044space_surround.cc b/cpp/044space_surround.cc
index c5a03176..bfc73eee 100644
--- a/cpp/044space_surround.cc
+++ b/cpp/044space_surround.cc
@@ -42,7 +42,7 @@ int space_base(const reagent& x, int space_index, int base) {
 }
 
 int space_index(const reagent& x) {
-  for (size_t i = 0; i < x.properties.size(); ++i) {
+  for (index_t i = 0; i < x.properties.size(); ++i) {
     if (x.properties[i].first == "space")
       return to_int(x.properties[i].second[0]);
   }