X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/fb5216062a50b385c738727c34991272e6422128..ade05bc64de4853d99cdc1ea2657845728614f03:/src/zerogrouping/zerogrouping.c diff --git a/src/zerogrouping/zerogrouping.c b/src/zerogrouping/zerogrouping.c index 5310453..4ee92f5 100644 --- a/src/zerogrouping/zerogrouping.c +++ b/src/zerogrouping/zerogrouping.c @@ -102,7 +102,7 @@ size_t zg_ungroup(ZG* zg, char *dst, char src) { char ret = src; zg->in_zero = 0; /* salgo de serie de ceros */ - while (src--) dst[src] = 0; /* devuelve src cantidad de ceros */ + while (src--) dst[(size_t)src] = 0; /* devuelve src cantidad de ceros */ return ret; /* indica que se devolvieron src cantidad de ceros */ } else