GNOME Bugzilla – Bug 142205
return type of gst_audio_clock_id_wait_async is wrong
Last modified: 2004-12-22 21:47:04 UTC
using gcc 3.4: in gst-plugins/gst-libs/gst/audio: gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/home/arwed/gst/include/gstreamer-0.8 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -Wall -Wno-sign-compare -Werror -DG_DISABLE_DEPRECATED -march=athlon -mmmx -m3dnow -O3 -z combreloc -MT libgstaudio_la-audioclock.lo -MD -MP -MF .deps/libgstaudio_la-audioclock.Tpo -c audioclock.c -fPIC -DPIC -o .libs/libgstaudio_la-audioclock.o audioclock.c: In function `gst_audio_clock_class_init': audioclock.c:82: warning: assignment from incompatible pointer type make: *** [libgstaudio_la-audioclock.lo] Error 1 The return type is indeed wrong, according to gstclock.c it should be GstClockEntryStatus, not GstClockReturn
Created attachment 27510 [details] [review] trivial patch to fix it
Applied to HEAD, thanks.