playback/player: gtk-play: Fix compiler warning
authorSebastian Dröge <sebastian@centricular.com>
Thu, 7 May 2015 11:21:52 +0000 (13:21 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 7 May 2015 11:21:52 +0000 (13:21 +0200)
commit59d822fc2b493e8600bf89557d56ed59a80af620
tree35c213c72b65ea20c522d6928b014b29a0d708bf
parent7396c221ed2ea822bf6b24e52d34b00919d0fd31
playback/player: gtk-play: Fix compiler warning

gtk-play.c:269:60: warning: passing 'gint *' (aka 'int *') to parameter of type 'guint *' (aka 'unsigned int *') converts between pointers to integer types
      with different sign [-Wpointer-sign]
      gst_player_video_info_get_pixel_aspect_ratio (video, &par_n, &par_d);
                                                           ^~~~~~
../lib/gst/player/gstplayer-media-info.h:92:57: note: passing argument to parameter 'par_n' here
                (const GstPlayerVideoInfo* info, guint *par_n, guint *par_d);
                                                        ^
gtk-play.c:269:68: warning: passing 'gint *' (aka 'int *') to parameter of type 'guint *' (aka 'unsigned int *') converts between pointers to integer types
      with different sign [-Wpointer-sign]
      gst_player_video_info_get_pixel_aspect_ratio (video, &par_n, &par_d);
                                                                   ^~~~~~
../lib/gst/player/gstplayer-media-info.h:92:71: note: passing argument to parameter 'par_d' here
                (const GstPlayerVideoInfo* info, guint *par_n, guint *par_d);
                                                                      ^
playback/player/gtk/gtk-play.c