- while ( fread(buffer,sizeof(EMUFS_IDX),cant-1,f_idx)) ;
- for( i=0; i<cant; i += sizeof(unsigned long int))
- printf("buffer[%ld] = %d %d\n",i/sizeof(unsigned long int),*(buffer+i),*(buffer+2*i));
+ fread(buffer,sizeof(EMUFS_IDX),cant-1,f_idx) ;
+ for( i=0; i<cant-1; i ++)
+ printf("buffer[%d] = %d , %d\n",i,*(buffer+i),*(buffer+2*i));