Changeset 479 for GPL/trunk/drv32


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

Cleanup compiler warnings

Location:
GPL/trunk/drv32
Files:
3 edited

Legend:

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

    r235 r479  
    9696
    9797#ifdef DEBUG
    98     printk("StratIOCtl\n");
     98    printk("StratIOCtl %d\n", rp->Function);
    9999#endif
    100100    if (rp->Category != CAT_IOCTL_OSS32)
  • 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
  • GPL/trunk/drv32/parse.c

    r32 r479  
    4646extern "C" short int midi_port;
    4747
    48 #ifdef DEBUG
     48#ifdef COMM_DEBUG
    4949extern "C" short int MAGIC_COMM_PORT;
    5050#endif
     
    223223        break;
    224224#endif
    225 #ifdef DEBUG
     225#ifdef COMM_DEBUG
    226226    case 'P':
    227227        if(*pszOption == '0') {
Note: See TracChangeset for help on using the changeset viewer.