Revision 1859 trunk/client/gui/info.c

info.c (revision 1859)
694 694
    return table;
695 695
}
696 696

                
697
#pragma GCC diagnostic push
698
#pragma GCC diagnostic ignored "-Wpointer-to-int-cast"
697 699
static void
698 700
generate_html(UpdateInfo *info)
699 701
{
... ...
734 736
    } else if ((info->unstable_major_version < 0 && !(CHECK_VERSION_IS_OLDER(info->stable_major_version, info->stable_minor_version, info->stable_micro_version))) ||
735 737
               (info->unstable_major_version >=0 && !(CHECK_VERSION_IS_OLDER(info->unstable_major_version, info->unstable_minor_version, info->unstable_micro_version)))) {
736 738

                
737
#pragma GCC diagnostic push
738
#pragma GCC diagnostic ignored "-Wpointer-to-int-cast"
739 739
        data = g_strdup_printf("%s\n%s %"G_GUINT64_FORMAT" (%s %"G_GUINT64_FORMAT") %s %"G_GUINT64_FORMAT"\n\n", _("You are using a snapshot version of NNTPGrab"), _("This is subversion revision"), (guint64) GET_BUILD_SVN_REV, _("build"), (guint64) GET_BUILD_NUMBER, _("which was built on "), (guint64) GET_BUILD_DATE);
740
#pragma GCC diagnostic pop
741 740
        gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, data, -1, "center", NULL);
742 741
        g_free(data);
743 742

                
... ...
796 795
        insert_link(buffer, &iter, "https://www.nntpgrab.nl");
797 796
    }
798 797
}
798
#pragma GCC diagnostic pop
799 799

                
800 800
static gboolean
801 801
process_update_info(gpointer data)

Also available in: Unified diff