some cleanups

This commit is contained in:
cathugger
2018-02-23 00:03:17 +00:00
parent f1f25ba2b6
commit 5e97518634
3 changed files with 10 additions and 10 deletions

2
vec.h
View File

@@ -20,7 +20,7 @@ do { \
void vec_addn(struct vec_basestruct *ctl,size_t sz,size_t n);
#define VEC_ADDN(ctl,n) \
vec_addn((struct vec_basestruct *)&(ctl),VEC_ELSIZE(ctl),(n))
vec_addn((struct vec_basestruct *)&(ctl),VEC_ELSIZE(ctl),(size_t)(n))
#define VEC_REMOVEN(ctl,n,m) \
do { \