From 8043464c24e4f80da76b870ca8af035d51010e2c Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Wed, 22 Aug 2007 18:56:20 +0000 Subject: gcc 4 doesn't like my macro for getting the interface description: it says there's an invalid lvalue in it. I don't see what's wrong with it, but replace the macro with a function. Also: don't include the .xpm files in gtk/main.c if we're building without PCAP (as they're not used in that configuration). svn path=/trunk/; revision=22588 --- summary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'summary.c') diff --git a/summary.c b/summary.c index 2d8b92651e..0ac1b8a5f1 100644 --- a/summary.c +++ b/summary.c @@ -123,6 +123,6 @@ summary_fill_in_capture(capture_options *capture_opts, summary_tally *st) { st->cfilter = capture_opts->cfilter; st->iface = capture_opts->iface; - st->iface_descr = GET_IFACE_DESCR(capture_opts); + st->iface_descr = get_iface_description(capture_opts); } #endif -- cgit v1.2.1