From: John Melton Date: Mon, 18 Jun 2018 12:28:00 +0000 (+0100) Subject: Fixed c99/c11 requirement X-Git-Url: https://git.rkrishnan.org/%5B/(%5B%5E?a=commitdiff_plain;h=8ecac961d1ac421136a3b46530ec83da283b190c;p=pihpsdr.git Fixed c99/c11 requirement --- 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);