From 1bc049906a35c3490532ab68fcbf90750c225f77 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 23 Apr 2007 10:59:26 +0000 Subject: Add some GCC warnings to the standard set, and add some others to the --enable-extra-gcc-checks set. If we turn on -pedantic, try turning on -Wno-long-long as well, so that it's not *so* pedantic that it rejects the 64-bit integral data types that we explicitly require. Constify a bunch of stuff, and make some other changes, to get rid of warnings. Clean up some indentation. svn path=/trunk/; revision=21526 --- epan/address.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/address.h') diff --git a/epan/address.h b/epan/address.h index 3a0074a043..551d4af0e3 100644 --- a/epan/address.h +++ b/epan/address.h @@ -66,7 +66,7 @@ typedef struct _address { #define SET_ADDRESS(addr, addr_type, addr_len, addr_data) { \ (addr)->type = (addr_type); \ (addr)->len = (addr_len); \ - (addr)->data = (void *)(addr_data); \ + (addr)->data = (const void *)(addr_data); \ } /* -- cgit v1.2.3