Skip to content
Snippets Groups Projects
Commit a9e2d421 authored by rswindell's avatar rswindell
Browse files

Typecast Win32 Beep() arguments to DWORDs.

parent 3efc06b1
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,7 @@ extern "C" {
#define YIELD() Sleep(1) /* Must sleep at least 1ms to avoid 100% CPU utilization */
#define MAYBE_YIELD() Sleep(0)
#define SLEEP(x) Sleep(x)
#define BEEP(freq,dur) Beep(freq,dur)
#define BEEP(freq,dur) Beep((DWORD)(freq),(DWORD)(dur))
#define popen _popen
#define pclose _pclose
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment