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:
patacongo
2009-12-20 22:35:35 +00:00
parent 43c18e6e70
commit 408d3a135a
6 changed files with 141 additions and 137 deletions
+1 -1
View File
@@ -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;