diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-05-20 22:26:14 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-05-20 22:26:14 +0000 |
commit | eee7f58e2d51f8e6befd325ebe51f062e33c51f3 (patch) | |
tree | faa14c9e53db5a7565157ae8d8e38b59fb007939 /packet-smb.c | |
parent | 724c494b70a4d681b06c10bf2d80b90efd2f1869 (diff) |
Fix up a cast so that it properly sign-extends the server time zone;
from Joerg Mayer.
svn path=/trunk/; revision=3427
Diffstat (limited to 'packet-smb.c')
-rw-r--r-- | packet-smb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-smb.c b/packet-smb.c index 9209645f6e..07c69c78d7 100644 --- a/packet-smb.c +++ b/packet-smb.c @@ -2,7 +2,7 @@ * Routines for smb packet dissection * Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com> * - * $Id: packet-smb.c,v 1.81 2001/03/20 04:46:37 guy Exp $ + * $Id: packet-smb.c,v 1.82 2001/05/20 22:26:14 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -3240,7 +3240,7 @@ dissect_negprot_smb(const u_char *pd, int offset, frame_data *fd, proto_tree *pa if (tree) { proto_tree_add_text(tree, NullTVB, offset, 2, "Server time zone: %i min from UTC", - (signed)GSSHORT(pd, offset)); + (signed short)GSSHORT(pd, offset)); } @@ -3461,7 +3461,7 @@ dissect_negprot_smb(const u_char *pd, int offset, frame_data *fd, proto_tree *pa if (tree) { proto_tree_add_text(tree, NullTVB, offset, 2, "Server time zone: %i min from UTC", - (signed)GSSHORT(pd, offset)); + (signed short)GSSHORT(pd, offset)); } |