X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/61e7077b0c9b9bc76dc93b02b24e56f35580611d..784073eb4d4dba1995c35bf35d479c04e5f96e66:/src/mtf/mtf.c?ds=sidebyside diff --git a/src/mtf/mtf.c b/src/mtf/mtf.c index c906f47..e889817 100644 --- a/src/mtf/mtf.c +++ b/src/mtf/mtf.c @@ -16,13 +16,13 @@ void print_z(char *z, int len) fprintf(stderr, "\n"); } -int *jacu_mtf(char *datos, int len) +char *jacu_mtf(char *datos, int len) { char *z; int *pos; int i, size; - pos = (int*)malloc(len*sizeof(int)); + pos = (char *)malloc(len*sizeof(char)); z = jacu_buscar_z(datos, len, &size); for(i=0; i