Skip to content

Commit

Permalink
Add explicit cast to uint32_t
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbartell committed Jan 30, 2024
1 parent 3393e73 commit eedc93e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ff_fat.c
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ uint32_t FF_FindEndOfChain( FF_IOManager_t * pxIOManager,
{
/* Traverse FAT for (2^32-1) items/clusters,
* or until end-of-chain is encountered. */
ulFatEntry = FF_TraverseFAT( pxIOManager, ulStart, ~0UL, &xError );
ulFatEntry = FF_TraverseFAT( pxIOManager, ulStart, ( uint32_t ) ~0UL, &xError );
}
else
{
Expand Down

0 comments on commit eedc93e

Please sign in to comment.