]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
Fixed c99/c11 requirement
authorJohn Melton <john.d.melton@googlemail.com>
Mon, 18 Jun 2018 12:28:00 +0000 (13:28 +0100)
committerJohn Melton <john.d.melton@googlemail.com>
Mon, 18 Jun 2018 12:28:00 +0000 (13:28 +0100)
rx_menu.c

index 3e83bb166ae768d2483a4e548cd14fd7027c492e..cb384cd674adc56fbd8dd1f77da67993219efacd 100644 (file)
--- 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);