X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/83110706b7a81ad5a9964c92823b7827d9088256..2b317be73e4cfc0751df22597752cd98ce51740c:/emufs/tipo2_main.c diff --git a/emufs/tipo2_main.c b/emufs/tipo2_main.c index 0dc5c67..c9a9b18 100644 --- a/emufs/tipo2_main.c +++ b/emufs/tipo2_main.c @@ -35,7 +35,7 @@ int main(int argc, char *argv[]) { EMUFS *fp; - int n1, n2, n3, n4, n5, n6, n7, n8; + EMUFS_REG_ID n1, n2, n3, n4, n5, n6, n7, n8; char a[11]; char b[63]; char c[13]; @@ -71,7 +71,7 @@ int main(int argc, char *argv[]) n8 = fp->grabar_registro(fp, h, 63); /* Borramos un registro del medio */ - printf("tipo2_main.c >> Borrando registro: %i\n",n4); + printf("tipo2_main.c >> Borrando registro: %lu\n",n4); fp->borrar_registro(fp, 54); /*n8 = fp->grabar_registro(fp, i, 100); fp->leer_registro(fp, n8, b, 100);