Index: sys/ufs/lfs/lfs_alloc.c =================================================================== RCS file: /cvsroot/src/sys/ufs/lfs/lfs_alloc.c,v retrieving revision 1.138 diff -u -r1.138 lfs_alloc.c --- sys/ufs/lfs/lfs_alloc.c 17 Jan 2020 20:08:10 -0000 1.138 +++ sys/ufs/lfs/lfs_alloc.c 22 Feb 2020 00:09:11 -0000 @@ -95,16 +95,16 @@ #define SET_BITMAP_FREE(F, I) do { \ DLOG((DLOG_ALLOC, "lfs: ino %d wrd %d bit %d set\n", (int)(I), \ (int)((I) >> BMSHIFT), (int)((I) & BMMASK))); \ - (F)->lfs_ino_bitmap[(I) >> BMSHIFT] |= (1 << ((I) & BMMASK)); \ + (F)->lfs_ino_bitmap[(I) >> BMSHIFT] |= (1U << ((I) & BMMASK)); \ } while (0) #define CLR_BITMAP_FREE(F, I) do { \ DLOG((DLOG_ALLOC, "lfs: ino %d wrd %d bit %d clr\n", (int)(I), \ (int)((I) >> BMSHIFT), (int)((I) & BMMASK))); \ - (F)->lfs_ino_bitmap[(I) >> BMSHIFT] &= ~(1 << ((I) & BMMASK)); \ + (F)->lfs_ino_bitmap[(I) >> BMSHIFT] &= ~(1U << ((I) & BMMASK)); \ } while(0) #define ISSET_BITMAP_FREE(F, I) \ - ((F)->lfs_ino_bitmap[(I) >> BMSHIFT] & (1 << ((I) & BMMASK))) + ((F)->lfs_ino_bitmap[(I) >> BMSHIFT] & (1U << ((I) & BMMASK))) /* * Add a new block to the Ifile, to accommodate future file creations.