diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-04-23 10:59:26 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-04-23 10:59:26 +0000 |
commit | 1cb2713ca4f49017083a4854068a7bd5027d37cc (patch) | |
tree | f690697725617a640820ade652da4cf766bdc863 /epan/dissectors/packet-scsi-osd.c | |
parent | edb41d122c7688f977051b18a144a7cc6ffd1b93 (diff) |
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21526 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-scsi-osd.c')
-rw-r--r-- | epan/dissectors/packet-scsi-osd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-scsi-osd.c b/epan/dissectors/packet-scsi-osd.c index 61252243df..be3acea50f 100644 --- a/epan/dissectors/packet-scsi-osd.c +++ b/epan/dissectors/packet-scsi-osd.c @@ -214,7 +214,7 @@ typedef void (*attribute_dissector)(tvbuff_t *tvb, packet_info *pinfo, proto_tre typedef struct _attribute_page_numbers_t { guint32 number; - char *name; + const char *name; attribute_dissector dissector; } attribute_page_numbers_t; static const attribute_page_numbers_t user_object_info_attributes[] = { |