aboutsummaryrefslogtreecommitdiffstats
path: root/array.h
diff options
context:
space:
mode:
Diffstat (limited to 'array.h')
-rw-r--r--array.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/array.h b/array.h
index 1080fc9..fb4f789 100644
--- a/array.h
+++ b/array.h
@@ -31,7 +31,8 @@ enum atype {array_indexed, array_assoc};
typedef struct array {
enum atype type;
- arrayind_t max_index, num_elements;
+ arrayind_t max_index;
+ int num_elements;
struct array_element *head;
} ARRAY;