edits
[iotcloud.git] / version2 / src / C / array.h
index 274982212aac4190fe5fec2bb85a8833635a113b..3126238e2c9a811c369aa8df4505173ce21c40f3 100644 (file)
@@ -1,5 +1,8 @@
 #ifndef ARRAY_H
 #define ARRAY_H
+#include <inttypes.h>
+
+typedef uint32_t uint;
 
 template<typename type>
 class Array {
@@ -9,7 +12,7 @@ class Array {
     size(0) {
   }
   
- Array(uint _size) :
+ Array(uint32_t _size) :
   array((type *) ourcalloc(1, sizeof(type) * _size)),
                size(_size)
     {