Fixed shift-negative-value warning
authorGeorge Nash <george.nash@intel.com>
Wed, 7 Sep 2016 23:18:01 +0000 (16:18 -0700)
committerRick Bell <richard.s.bell@intel.com>
Fri, 9 Sep 2016 16:41:16 +0000 (16:41 +0000)
commit90a01dc95466a5c3d956d749ab1fe53792bddca7
tree486390f32feb1a265be52eb304078b85657660e8
parentaf5c30a18223f4445f7f32e7f0276697a3953ffc
Fixed shift-negative-value warning

The compilar was interpreting the number zero '0' as a
signed number not an unsigned number. The left shift behavior
for signed numbers is undefined. The 'u' sufix was added to
tell the compilar that the '0' is an unsigned number.

Change-Id: Ida6c5c5ee2a7ea556755ca55d71858469a0691ac
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11525
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Larry Sachs <larry.j.sachs@intel.com>
Reviewed-by: jaehyun Cho <jaehyun3.cho@samsung.com>
Reviewed-by: Rick Bell <richard.s.bell@intel.com>
resource/csdk/connectivity/src/adapter_util/cafragmentation.c