X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/de5da6745aa448b96eee01fbd9df0575629678b9..1d6ca0c65d3cec1461a370d3ac795ceac19d8e80:/src/mtf/mtf.c diff --git a/src/mtf/mtf.c b/src/mtf/mtf.c index 3113161..3967cbc 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; + char *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