Skip to content

Commit 5eed341

Browse files
authored
Merge pull request #819 from benpicco/fix-AVR
Fix build for AVR
2 parents 97e2526 + 6fda813 commit 5eed341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1651,7 +1651,7 @@ static int lfs_dir_commitcrc(lfs_t *lfs, struct lfs_commit *commit) {
16511651

16521652
commit->off = noff;
16531653
// perturb valid bit?
1654-
commit->ptag = ntag ^ ((0x80 & ~eperturb) << 24);
1654+
commit->ptag = ntag ^ ((0x80UL & ~eperturb) << 24);
16551655
// reset crc for next commit
16561656
commit->crc = 0xffffffff;
16571657

0 commit comments

Comments
 (0)