Revision 15232

Date:
2012/02/04 06:04:24
Author:
konforce
Revision Log:
replace (void *) arithmetic to satisfy msvc
Files:

Legend:

 
Added
 
Removed
 
Modified
  • allegro/branches/5.1/examples/ex_record.c

     
    231 231 size_t bytes_read = 0, i;
    232 232
    233 233 do {
    234 bytes_read += al_fread(fp, (void *)output + bytes_read,
    234 bytes_read += al_fread(fp, (uint8_t *)output + bytes_read,
    235 235 bytes_to_read - bytes_read);
    236 236 } while (bytes_read < bytes_to_read && !al_feof(fp) &&
    237 237 !al_ferror(fp));