wireshark/plugins
Guy Harris 9fba5f0764 Fix some cases where we're shifting a signed 1 left.
Shift 1U instead, to make sure it's unsigned; the result of, for
example, the result of shifting a signed value left is undefined if the
value times 2^{shift count} doesn't fit in the *signed* type of the
shifted value.  That means, in particular, that the result of shifting 1
left by {number of bits in an int - 1} is undefined.  (In *practice*,
it'll probably be -2^32, with the bit you want set, but that's not
guaranteed, and GCC 5.1 seems not to like it.)

Change-Id: I0d27565c382a04ceda9eec65f45a430ceb74cf53
Reviewed-on: https://code.wireshark.org/review/8255
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-04-30 22:22:59 +00:00
..
docsis Fix CMake warnings 2015-04-17 16:09:22 +00:00
easy_codec <string.h>, not <memory.h>, is the header file for memcpy(). 2015-02-27 22:55:53 +00:00
ethercat Fix CMake warnings 2015-04-17 16:09:22 +00:00
gryphon Fix CMake warnings 2015-04-17 16:09:22 +00:00
irda Fix CMake warnings 2015-04-17 16:09:22 +00:00
m2m Fix CMake warnings 2015-04-17 16:09:22 +00:00
mate Fix CMake warnings 2015-04-17 16:09:22 +00:00
opcua Fix CMake warnings 2015-04-17 16:09:22 +00:00
profinet Fix CMake warnings 2015-04-17 16:09:22 +00:00
stats_tree Fix CMake warnings 2015-04-17 16:09:22 +00:00
tpg Fix CMake warnings 2015-04-17 16:09:22 +00:00
unistim Fix CMake warnings 2015-04-17 16:09:22 +00:00
wimax Fix CMake warnings 2015-04-17 16:09:22 +00:00
wimaxasncp Fix some cases where we're shifting a signed 1 left. 2015-04-30 22:22:59 +00:00
wimaxmacphy wimax: replace deprecated tvb_length calls 2015-04-20 06:38:00 +00:00
Custom.m4.example Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Custom.make.example Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Custom.nmake.example Update Custom.nmake.example with the change done in g2ef72cb 2015-03-14 19:34:32 +00:00
Makefile.am Add the easy_codec plugin to the source distribution. 2014-08-01 16:17:38 +00:00
Makefile.common.inc Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Makefile.nmake CMake: Add a top-level nsis_package target. 2015-03-12 22:47:42 +00:00