From faf9e18aea52bbf7a8cfdbebdfe9ebe96a949d8c Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Mon, 21 Jun 2004 21:11:56 +0000 Subject: [PATCH] Para que no ponga warning. --- src/zerogrouping/zerogrouping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0