about summary refs log tree commit diff stats
path: root/cpp/012run
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-02-21 22:08:58 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-02-21 22:08:58 -0800
commitd160a8e170ed5488b91c6a9d5e46546d8132233b (patch)
tree2e3b66cdcdea3732a1d3096e1e97924180cb27f0 /cpp/012run
parentfe67d47aa4598497e295510cf27f702a3e118632 (diff)
downloadmu-d160a8e170ed5488b91c6a9d5e46546d8132233b.tar.gz
811 - first test for arrays
Diffstat (limited to 'cpp/012run')
-rw-r--r--cpp/012run2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/012run b/cpp/012run
index 946b01d1..194a55c5 100644
--- a/cpp/012run
+++ b/cpp/012run
@@ -75,7 +75,7 @@ int to_int(string n) {
   return result;
 }
 
-int size_of(reagent r) {
+size_t size_of(reagent r) {
   type_info t = Type[r.types[0]];
   if (!t.is_record && !t.is_array) return t.size;
   return t.size;  // TODO