From 8ecac961d1ac421136a3b46530ec83da283b190c Mon Sep 17 00:00:00 2001 From: John Melton Date: Mon, 18 Jun 2018 13:28:00 +0100 Subject: [PATCH] Fixed c99/c11 requirement --- rx_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rx_menu.c b/rx_menu.c index 3e83bb1..cb384cd 100644 --- a/rx_menu.c +++ b/rx_menu.c @@ -268,7 +268,7 @@ void rx_menu(GtkWidget *parent) { GtkWidget *alex_att_label=gtk_label_new("Alex Attenuator"); gtk_grid_attach(GTK_GRID(grid), alex_att_label, x, 5, 1, 1); GtkWidget *last_alex_att_b = NULL; - for (int i = 0; i <= 3; i++) { + for (i = 0; i <= 3; i++) { gchar button_text[] = "xx dB"; sprintf(button_text, "%d dB", i*10); GtkWidget *alex_att_b=gtk_radio_button_new_with_label_from_widget(GTK_RADIO_BUTTON(last_alex_att_b), button_text); -- 2.45.2