X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/784073eb4d4dba1995c35bf35d479c04e5f96e66..1d6ca0c65d3cec1461a370d3ac795ceac19d8e80:/src/mtf/mtf.c diff --git a/src/mtf/mtf.c b/src/mtf/mtf.c index e889817..3967cbc 100644 --- a/src/mtf/mtf.c +++ b/src/mtf/mtf.c @@ -19,7 +19,7 @@ void print_z(char *z, int len) char *jacu_mtf(char *datos, int len) { char *z; - int *pos; + char *pos; int i, size; pos = (char *)malloc(len*sizeof(char)); @@ -32,14 +32,14 @@ char *jacu_mtf(char *datos, int len) return pos; } -char *jacu_mtf_inv(char *z, int *pos, int len) +char *jacu_mtf_inv(char *z, char *pos, int len) { char *datos; int i; datos = (char*)malloc(sizeof(char)*len); for(i=0; i