Replaced return 0 with return 0.0 since it's a double
This commit is contained in:
parent
741eee8f5d
commit
cb16ab7c41
@ -10,7 +10,7 @@ double SDCardManager::getSize(const SizeUnit sizeUnit)
|
|||||||
uint64_t numberOf512BytesChunks = blocksPerCluster() * totalClusters();//cardSize();
|
uint64_t numberOf512BytesChunks = blocksPerCluster() * totalClusters();//cardSize();
|
||||||
double result = 0;
|
double result = 0;
|
||||||
|
|
||||||
if(!isMounted()) return 0;
|
if(!isMounted()) return 0.0;
|
||||||
|
|
||||||
switch(sizeUnit)
|
switch(sizeUnit)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user