diff options
author | Guy Harris <guy@alum.mit.edu> | 2009-04-21 16:57:52 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2009-04-21 16:57:52 +0000 |
commit | 54c159cb41d3d885807ce117b41cfbb444e45e5a (patch) | |
tree | 26c23c6b5773084609cd0d8ff02dfbd9cf624e1f /gtk/rtp_stream_dlg.c | |
parent | 85f8b0d87d42dd092ee8baaa0786d9ef8cf49080 (diff) |
Turn on -Wshorten-64-to-32 by default, and fix some issues that turned
up (99 44/100% of which were assignments of double-precision
floating-point constants to floats). Hopefully this will catch at least
some P64 issues on UN*X.
svn path=/trunk/; revision=28108
Diffstat (limited to 'gtk/rtp_stream_dlg.c')
-rw-r--r-- | gtk/rtp_stream_dlg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/rtp_stream_dlg.c b/gtk/rtp_stream_dlg.c index 6589ec2fe1..516da643b3 100644 --- a/gtk/rtp_stream_dlg.c +++ b/gtk/rtp_stream_dlg.c @@ -263,7 +263,7 @@ rtpstream_on_findrev (GtkButton *button _U_, row++) { if (rtp_stream_info_cmp_reverse(selected_stream_fwd, pstream) == 0) { gtk_clist_select_row(GTK_CLIST(clist), row, 0); - gtk_clist_moveto(GTK_CLIST(clist), row, 0, 0.5, 0); + gtk_clist_moveto(GTK_CLIST(clist), row, 0, 0.5f, 0); return; } } @@ -274,7 +274,7 @@ rtpstream_on_findrev (GtkButton *button _U_, row++) { if (rtp_stream_info_cmp_reverse(selected_stream_fwd, pstream) == 0) { gtk_clist_select_row(GTK_CLIST(clist), row, 0); - gtk_clist_moveto(GTK_CLIST(clist), row, 0, 0.5, 0); + gtk_clist_moveto(GTK_CLIST(clist), row, 0, 0.5f, 0); return; } } @@ -282,7 +282,7 @@ rtpstream_on_findrev (GtkButton *button _U_, /* if we didnt find another stream, highlight the current reverse stream */ if (selected_stream_rev!=NULL) { gtk_clist_select_row(GTK_CLIST(clist), row, 0); - gtk_clist_moveto(GTK_CLIST(clist), row, 0, 0.5, 0); + gtk_clist_moveto(GTK_CLIST(clist), row, 0, 0.5f, 0); } } |