X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fstruct%2Fpool.h;h=a44b14f3518b04d573290b573caaddb94a046209;hb=4bef9e1478a89338bece87b04c3872e76b64068e;hp=37938c26ea337518fd439e5075483b7689353887;hpb=b90e284547eab472e3d9e478a058304bdd6b2da7;p=bertos.git diff --git a/bertos/struct/pool.h b/bertos/struct/pool.h index 37938c26..a44b14f3 100644 --- a/bertos/struct/pool.h +++ b/bertos/struct/pool.h @@ -31,7 +31,6 @@ * * \brief Pool macros. * - * \version $Id$ * \author Giovanni Bajo */ @@ -49,7 +48,7 @@ storage name; \ INLINE void name##_init(void (*init_func)(type*)) \ { \ - int i; \ + size_t i; \ LIST_INIT(&name); \ for (i=0;i