diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-12-02 23:43:30 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-12-02 23:43:30 +0000 |
commit | 0b2b7afe6fc556ae439de87036a0c8d93c77730e (patch) | |
tree | dd1b62868737457d51efa73389ae4975567f4fe3 /packet-nfs.h | |
parent | e7a766dd49d6eb51f431015fa58f12c0bc5f3f99 (diff) |
Don't cast away constness, and fix variable and structure member
qualifiers as necessary to ensure that we don't have to.
"strcmp()", "strcasecmp()", and "memcmp()" don't return booleans; don't
test their results as if they did.
Use "guint8", not "guchar", for a pointer to (one or more) 8-bit bytes.
Update Michael Tuexen's e-mail address.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6726 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-nfs.h')
-rw-r--r-- | packet-nfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-nfs.h b/packet-nfs.h index 77cbfc688f..f5cb33f367 100644 --- a/packet-nfs.h +++ b/packet-nfs.h @@ -1,5 +1,5 @@ /* packet-nfs.h (c) 1999 Uwe Girlich */ -/* $Id: packet-nfs.h,v 1.11 2002/05/21 21:13:42 guy Exp $ */ +/* $Id: packet-nfs.h,v 1.12 2002/12/02 23:43:28 guy Exp $ */ #ifndef __PACKET_NFS_H__ #define __PACKET_NFS_H__ @@ -110,7 +110,7 @@ extern gboolean nfs_fhandle_reqrep_matching; extern GHashTable *nfs_fhandle_frame_table; typedef struct nfs_fhandle_data { int len; - unsigned char *fh; + const unsigned char *fh; tvbuff_t *tvb; } nfs_fhandle_data_t; void dissect_fhandle_hidden(packet_info *pinfo, proto_tree *tree, nfs_fhandle_data_t *nfd); |