Changeset 479 for GPL/trunk/drv32/idc.c


Ignore:
Timestamp:
May 1, 2010, 9:49:10 PM (15 years ago)
Author:
David Azarewicz
Message:

Cleanup compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/drv32/idc.c

    r386 r479  
    8484       OSSSTREAMID streamId = 0;
    8585
    86        rc = OSS32_WaveOpen(pPacket->open.devicenr, pPacket->open.streamtype, &streamId, pcm_device, pPacket->fileid);
     86       rc = OSS32_WaveOpen(pPacket->open.devicenr, pPacket->open.streamtype, &streamId, pcm_device, (USHORT)pPacket->fileid); /* DAZ cast added to stop compiler warning */
    8787       pPacket->streamid = streamId;
    8888       return rc;
     
    137137  }
    138138
    139       case IDC32_WAVE_GETHWPTR:
     139  case IDC32_WAVE_GETHWPTR:
    140140  {
    141141       ULONG position = 0;
     
    145145  }
    146146
    147     case IDC32_WAVE_SETVOLUME:
     147  case IDC32_WAVE_SETVOLUME:
    148148       return OSS32_WaveSetVolume(pPacket->streamid, pPacket->setwavevol.volume);
    149149
Note: See TracChangeset for help on using the changeset viewer.