diff --git a/subprojects/gst-plugins-bad/sys/directshow/dshowvideosink.cpp b/subprojects/gst-plugins-bad/sys/directshow/dshowvideosink.cpp index 356a9274f2..e16cf24223 100644 --- a/subprojects/gst-plugins-bad/sys/directshow/dshowvideosink.cpp +++ b/subprojects/gst-plugins-bad/sys/directshow/dshowvideosink.cpp @@ -676,7 +676,7 @@ gst_dshowvideosink_window_thread (GstDshowVideoSink * sink) /* signal application we created a window */ gst_video_overlay_got_window_handle (GST_VIDEO_OVERLAY (sink), - (gulong)video_window); + (guintptr)video_window); /* Set the renderer's clipping window */ if (!sink->renderersupport->SetRendererWindow (video_window)) { diff --git a/subprojects/gst-plugins-bad/sys/directshow/gstdshowaudiodec.h b/subprojects/gst-plugins-bad/sys/directshow/gstdshowaudiodec.h index b4736f918b..f4bfe712ea 100644 --- a/subprojects/gst-plugins-bad/sys/directshow/gstdshowaudiodec.h +++ b/subprojects/gst-plugins-bad/sys/directshow/gstdshowaudiodec.h @@ -56,7 +56,7 @@ G_BEGIN_DECLS typedef struct { gchar *element_name; /* The gst element factory name */ gchar *element_longname; /* Description string for element */ - gint32 format; /* WAVEFORMATEX format */ + unsigned long format; /* WAVEFORMATEX format */ gchar *sinkcaps; /* GStreamer caps of input format */ PreferredFilter *preferred_filters; /* NULL-terminated list of preferred filters */ } AudioCodecEntry;