X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/61e7077b0c9b9bc76dc93b02b24e56f35580611d..05679d4ab53a25befb2d8f2c886324c1514134c8:/src/mtf/main.c diff --git a/src/mtf/main.c b/src/mtf/main.c index 3f6f174..a6f9bda 100644 --- a/src/mtf/main.c +++ b/src/mtf/main.c @@ -9,13 +9,13 @@ int main(int argc, char *argv[] ) { char buff[BUFFER_SIZE]; char *z, *dato; - int *pos; + char *pos; int len; - int i, size; + int i, size, z_len; len = fread(buff, 1, BUFFER_SIZE, stdin); buff[len] = '\0'; - pos = jacu_mtf(buff, len); + pos = jacu_mtf(buff, len, &z, &z_len); for(i=0; i