Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #129 from jcowgar/master

Fixes UArray rstrip
  • Loading branch information...
commit c83f98e0b989bca5ca342ab84091f0d214dd3afd 2 parents 7687324 + 2f75a4c
@stevedekorte stevedekorte authored
View
2  libs/basekit/source/Common_inline.h
@@ -58,7 +58,7 @@ Kudos to Daniel A. Koepke
#define IO_DECLARE_INLINES
#define IOINLINE static inline
#endif
-#elif defined(__LINUX__)
+#elif defined(__linux__)
#ifdef IO_IN_C_FILE
// in .c
#define IO_DECLARE_INLINES
View
2  libs/basekit/source/UArray.h
@@ -392,7 +392,7 @@ BASEKIT_API void UArray_sortBy_(UArray *self, UArraySortCallback *cmp);
#define UARRAY_RFOREACHTYPE(self, i, v, code, TYPE)\
{\
size_t i;\
- for(i = self->size - 1; i > -1; i --)\
+ for(i = self->size - 1; i >= 0; i --)\
{\
TYPE v = ((TYPE *)self->data)[i];\
code;\
Please sign in to comment.
Something went wrong with that request. Please try again.