Merge branch 'master' of feistymeow.org:feisty_meow
[feisty_meow.git] / nucleus / tools / simple_utilities / playsound.cpp
index 4f94ad9655f028cc044f64754b67fa7f067f4683..d8fe12b1300415160b2c25f404551c2e6539f3cf 100644 (file)
@@ -49,7 +49,7 @@ int main(int argc, char *argv[])
   for (int i = 1; i < argc; i++) {
 //    out.log(astring(astring::SPRINTF, "soundfile %d: %s", i, argv[i]));
 #ifdef _MSC_VER
-    if (!PlaySound(to_unicode_temp(argv[i]), NIL, SND_FILENAME))
+    if (!PlaySound(to_unicode_temp(argv[i]), NULL_POINTER, SND_FILENAME))
       out.log(astring("failed to play ") + argv[i], ALWAYS_PRINT);
 #else
     out.log(astring("this program is a NO-OP, ignoring ") + argv[i], ALWAYS_PRINT);