James Hawkins wrote:
>Hi,
>
>msvc picked up a couple type-conversions problems in winmm.
>
>
>
>- union { float f; char c[4]; } sample;
>+ union { double f; char c[4]; } sample;
> sample.f=y;
>
>
A float is 4 bytes and a double is 8. They are not interchangeable.
The H/W reads/writes 4 byte floats.