diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2003-12-17 23:35:29 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2003-12-17 23:35:29 +0000 |
commit | bdcf77c036df665d974380e1533571b106f3b645 (patch) | |
tree | 3c1841cfc3cd95ebf2e74a94096daebeac920343 /packet-scsi.c | |
parent | 74f1e5b91b50f21a3bbcf01d7356140ea4766a2f (diff) |
removed some more MSVC warnings (type casting)
svn path=/trunk/; revision=9332
Diffstat (limited to 'packet-scsi.c')
-rw-r--r-- | packet-scsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-scsi.c b/packet-scsi.c index 501783c3e2..7aa825219e 100644 --- a/packet-scsi.c +++ b/packet-scsi.c @@ -2,7 +2,7 @@ * Routines for decoding SCSI CDBs and responses * Author: Dinesh G Dutt (ddutt@cisco.com) * - * $Id: packet-scsi.c,v 1.35 2003/10/28 17:27:56 guy Exp $ + * $Id: packet-scsi.c,v 1.36 2003/12/17 23:35:29 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -2450,7 +2450,7 @@ dissect_scsi_modepage (tvbuff_t *tvb, packet_info *pinfo, } if (!(*dissect_modepage)(tvb, pinfo, tree, offset, - pcode & SCSI_MS_PCODE_BITS)) { + (guint8) (pcode & SCSI_MS_PCODE_BITS))) { proto_tree_add_text (tree, tvb, offset+2, plen, "Unknown Page"); } |