Spdk/test/app
yidong0635 99919377d7 llvm: Using typecast for consisting 32b/16b.
We usually to constitute an (uin32_t) with 4 (uint8_t)s.
or an (uin16_t) with 2 (uint8_t)s.
If you not to force type change, there may be overflow.
Then you would get the wrong value.

Meanwhile elimating the warning catched my the analyzer.

Fixes issue #2549.

Signed-off-by: yidong0635 <dongx.yi@intel.com>
Change-Id: I343a508b52c92475a37e3518022680aede806cb1
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13005
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Jun Wen <junx.wen@intel.com>
2022-06-14 09:18:19 +00:00
..
bdev_svc Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
fuzz llvm: Using typecast for consisting 32b/16b. 2022-06-14 09:18:19 +00:00
histogram_perf Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
jsoncat Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
match Use SPDX license identifiers in remaining files. 2022-06-09 07:35:12 +00:00
stub Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
Makefile Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00