X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=hivex%2Fhivex.c;h=0c09ace64cf4731bbbbfac35bf035a91f7dbc32e;hb=d0507993a7c3b39c2c86323a79eb3f4bfd2d19fb;hp=13c3f868987e0dee563eae6861e89e9ffe4db7f7;hpb=8df82f709ab65a0cd4b28f1e51e27aa9cc702481;p=libguestfs.git diff --git a/hivex/hivex.c b/hivex/hivex.c index 13c3f86..0c09ace 100644 --- a/hivex/hivex.c +++ b/hivex/hivex.c @@ -105,7 +105,7 @@ struct hive_h { #define BITMAP_SET(bitmap,off) (bitmap[(off)>>5] |= 1 << (((off)>>2)&7)) #define BITMAP_CLR(bitmap,off) (bitmap[(off)>>5] &= ~ (1 << (((off)>>2)&7))) #define BITMAP_TST(bitmap,off) (bitmap[(off)>>5] & (1 << (((off)>>2)&7))) -#define IS_VALID_BLOCK(h,off) \ +#define IS_VALID_BLOCK(h,off) \ (((off) & 3) == 0 && \ (off) >= 0x1000 && \ (off) < (h)->size && \