Make sure nspr_getv20recordsize() returns an unsigned value.
authorGuy Harris <guy@alum.mit.edu>
Thu, 2 Mar 2017 22:51:43 +0000 (14:51 -0800)
committerGuy Harris <guy@alum.mit.edu>
Thu, 2 Mar 2017 22:53:10 +0000 (22:53 +0000)
commitb98bb5188c9082a06a370483c9474a929e957659
tree71e5d73788478ae2a0ce54cf51a455331640b8b9
parentb019c5931c945c20b9bc3f0c1f904dd3bd590873
Make sure nspr_getv20recordsize() returns an unsigned value.

The record size fields are guint8, but NSPR_V20RECORDSIZE_2BYTES was
0x80, which has type int, promoting the result to int.  Make it 0x80U,
which means everything is unsigned.

This squelches a compiler warning.

Change-Id: I1c63e485352a90c7f675ab0dacaaeba794235b35
Reviewed-on: https://code.wireshark.org/review/20344
Reviewed-by: Guy Harris <guy@alum.mit.edu>
wiretap/netscaler.c