winmm: Fix int-to-pointer and pointer-to-int casts warnings.
commit0ef9ebde9f5ccd8eb9905c8a71a2184b61aa2610
authorRémi Bernon <rbernon@codeweavers.com>
Wed, 13 Nov 2019 13:51:23 +0000 (13 14:51 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 14 Nov 2019 20:04:00 +0000 (14 21:04 +0100)
treea0331860aaacac91bae5df4cad1f5c96e21935f8
parenta8e7523ff164b111aedce5d8a2f0b5c07b6fb749
winmm: Fix int-to-pointer and pointer-to-int casts warnings.

The stream pointer was used as the DWORD id, which is only going to
work on 32bit. It may very well be that winmm is only used in 32bit,
but then we still build a 64bit version of it.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winmm/winmm.c