mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
Add casts to eliminate warnings when sizeof(int) is 16-bits
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2401 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -1570,7 +1570,7 @@ static int mmcsd_mediainitialize(FAR struct mmcsd_slot_s *slot)
|
||||
result = mmcsd_sendcmd(slot, &g_cmd55, 0);
|
||||
if (result == MMCSD_SPIR1_IDLESTATE || result == MMCSD_SPIR1_OK)
|
||||
{
|
||||
result = mmcsd_sendcmd(slot, &g_acmd41, 1 << 30);
|
||||
result = mmcsd_sendcmd(slot, &g_acmd41, (uint32_t)1 << 30);
|
||||
if (result == MMCSD_SPIR1_OK)
|
||||
{
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user