- Get beep and blue to compile/link on MSVC.
[reactos.git] / reactos / drivers / dd / beep / beep.c
index bfc1b1f..dc5872e 100644 (file)
@@ -199,7 +199,7 @@ BeepDeviceControl(PDEVICE_OBJECT DeviceObject,
                            FALSE,
                            NULL);
     }
                            FALSE,
                            NULL);
     }
-  else if (BeepParam->Duration == (DWORD)-1)
+  else if (BeepParam->Duration == (ULONG)-1)
     {
       if (DeviceExtension->BeepOn == TRUE)
        {
     {
       if (DeviceExtension->BeepOn == TRUE)
        {