Andrew Eikum aeikum@codeweavers.com wrote:
- br = sndPlaySoundA((LPCSTR)SND_ALIAS_SYSTEMASTERISK, SND_ALIAS_ID|SND_SYNC);
- ok(br == TRUE || br == FALSE, "sndPlaySound gave strange return: %u\n", br);
This kind of test is broken.
Care to elaborate? Being this terse helps no one.
What is this code testing the return value for? Why are there all these casts?