mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
mtd/smartfs: Fix implicit conversion from 'int' to 'short'
This commit is contained in:
committed by
Xiang Xiao
parent
3309b8eee6
commit
e809c80f07
+1
-1
@@ -1938,7 +1938,7 @@ static int smart_scan(FAR struct smart_struct_s *dev)
|
|||||||
char devname[22];
|
char devname[22];
|
||||||
FAR struct smart_multiroot_device_s *rootdirdev;
|
FAR struct smart_multiroot_device_s *rootdirdev;
|
||||||
#endif
|
#endif
|
||||||
static const short sizetbl[8] =
|
static const uint16_t sizetbl[8] =
|
||||||
{
|
{
|
||||||
CONFIG_MTD_SMART_SECTOR_SIZE,
|
CONFIG_MTD_SMART_SECTOR_SIZE,
|
||||||
512, 1024, 4096, 2048, 8192, 16384, 32768
|
512, 1024, 4096, 2048, 8192, 16384, 32768
|
||||||
|
|||||||
Reference in New Issue
Block a user