aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/prefs_layout.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-21 16:57:52 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-21 16:57:52 +0000
commit64016f50fe6793ca0a74d52b3f4d13a7ba2d88b1 (patch)
tree26c23c6b5773084609cd0d8ff02dfbd9cf624e1f /gtk/prefs_layout.c
parentb2e0ce09884ec03f9af1f4d52e34c81813168b79 (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28108 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/prefs_layout.c')
-rw-r--r--gtk/prefs_layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/prefs_layout.c b/gtk/prefs_layout.c
index b7aa58317f..7a7893cfc6 100644
--- a/gtk/prefs_layout.c
+++ b/gtk/prefs_layout.c
@@ -85,7 +85,7 @@ static GtkWidget *layout_content_radio_vbox(GtkWidget *main_vb, GtkTooltips *too
g_snprintf (buf, sizeof(buf), "Pane %d:", i);
radio_lb = gtk_label_new(buf);
- gtk_misc_set_alignment(GTK_MISC(radio_lb), 0.0, 0.5);
+ gtk_misc_set_alignment(GTK_MISC(radio_lb), 0.0f, 0.5f);
gtk_container_add(GTK_CONTAINER(radio_vb), radio_lb);
radio_none_rb = gtk_radio_button_new_with_mnemonic_from_widget(NULL, "None");