[Bug 754756] directsoundsrc: Compiler warning with 64bit Windows MinGW, cast from pointer to integer of different size

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 9 06:52:48 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=754756

Kouhei Sutou <kou at cozmixng.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kou at cozmixng.org

--- Comment #2 from Kouhei Sutou <kou at cozmixng.org> ---
(In reply to Sebastian Dröge (slomo) from comment #1)
> Not sure if this is entirely correct, MSDN says explicitly to cast to UINT.
> Is UINT and guint guaranteed to be the same?

UINT is unsigned int:

https://msdn.microsoft.com/en-us/library/windows/desktop/aa383751%28v=vs.85%29.aspx#UINT

> This type is declared in WinDef.h as follows:
>
> typedef unsigned int UINT;

guint is also unsigned int:

https://developer.gnome.org/glib/stable/glib-Basic-Types.html#guint

> typedef unsigned int    guint;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list