llvm: Using typecast for left shift value
Fixes #issue 2659 Change-Id: Iea41f1a5ea1559c742e43189234cc3b279f08603 Signed-off-by: Yifan Bian <yifan.bian@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14175 Reviewed-by: Jun Wen <junx.wen@intel.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
caa15bd230
commit
4f3e6e6c55
@ -229,7 +229,7 @@ fuzz_admin_security_send_command(struct fuzz_command *cmd)
|
||||
cmd->cmd.cdw10_bits.sec_send_recv.nssf = g_data[3];
|
||||
|
||||
/* Transfer Length(TL) */
|
||||
cmd->cmd.cdw11 = (uint32_t)(g_data[4] << 24) + ((uint32_t)g_data[5] << 16) +
|
||||
cmd->cmd.cdw11 = ((uint32_t)g_data[4] << 24) + ((uint32_t)g_data[5] << 16) +
|
||||
((uint32_t)g_data[6] << 8) + (uint32_t)g_data[7];
|
||||
|
||||
g_data += 8;
|
||||
|
Loading…
Reference in New Issue
Block a user