Changeset 521 for trunk/reader-dre.c


Ignore:
Timestamp:
Nov 20, 2009, 8:39:23 PM (10 years ago)
Author:
rorothetroll
Message:

reader-dre.c : add casting to make it compile on OS X

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/reader-dre.c

    r501 r521  
    224224  int dre_chksum = 0;
    225225  uchar buf[32];
    226   sprintf (buf, "%i%i%08i", provider - 16, major_version + 1, low_dre_id);
     226  sprintf ((char *)buf, "%i%i%08i", provider - 16, major_version + 1, low_dre_id);
    227227  for (i = 0; i < 32; i++) {
    228228    if (buf[i] == 0x00)
Note: See TracChangeset for help on using the changeset viewer.