Try to have everything compiling in the same time!

This commit is contained in:
Bertrand Songis
2016-03-12 20:52:03 +01:00
parent 9fa354779c
commit 6443c49285
2 changed files with 7 additions and 4 deletions
+3 -3
View File
@@ -23,7 +23,7 @@
#include "debug.h"
#define CHECK_DST_SIZE() \
if (cur-dst >= dstsize) { \
if (cur-dst >= (int)dstsize) { \
TRACE("RLC encoding size too big"); \
return 0; \
}
@@ -75,7 +75,7 @@ unsigned int compress(uint8_t * dst, unsigned int dstsize, const uint8_t * src,
#undef CHECK_DST_SIZE
#define CHECK_DST_SIZE() \
if (cur-dst >= dstsize) { \
if (cur-dst >= (int)dstsize) { \
TRACE("RLC decoding size too big"); \
return 0; \
}
@@ -126,4 +126,4 @@ unsigned int uncompress(uint8_t * dst, unsigned int dstsize, const uint8_t * src
}
}
#undef CHECK_DST_SIZE
#undef CHECK_DST_SIZE