Store the result of tvb_get_ntohs() in a guint16 instead of a guint8 to avoid a
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 3 Feb 2011 22:04:19 +0000 (22:04 +0000)
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 3 Feb 2011 22:04:19 +0000 (22:04 +0000)
commit35caaca843e6f4bf3e81e741f3e3cd8dd0c4b213
treed6bc652ad59bbfdbe13239dab993c3f721a5425a
parent2ab4ffe8ca9c79cad5ab0cb4932d20758eff9dde
Store the result of tvb_get_ntohs() in a guint16 instead of a guint8 to avoid a
compiler warning.  (It looks like the only expected values will fit in 8 bits,
but it also appears that the code really is expecting 'of_code' to be stored in
16 bits on the wire.)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35790 f5534014-38df-0310-8fa8-9805f1628bb7
epan/dissectors/packet-pcep.c