- Fix build without config.h.
- Fix gcc4 very large warning in ntfsrm.edge.strict_endians
parent
e323ed6a03
commit
5becfe6c30
|
@ -27,7 +27,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDINT_H
|
||||
#if HAVE_STDINT_H || !HAVE_CONFIG_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -547,8 +547,9 @@ static int ntfs_bmp_set_range (struct ntfs_bmp *bmp, VCN vcn, s64 length, int va
|
|||
|
||||
printf (GREEN "Modified: inode %lld, ", bmp->attr->ni->mft_no);
|
||||
switch (bmp->attr->type) {
|
||||
case AT_BITMAP: printf ("$BITMAP"); break;
|
||||
case AT_DATA: printf ("$DATA"); break;
|
||||
case AT_BITMAP: printf("$BITMAP"); break;
|
||||
case AT_DATA: printf("$DATA"); break;
|
||||
default: printf("???"); break;
|
||||
}
|
||||
printf (" vcn %lld-%lld\n" END, vcn>>12, (vcn+length-1)>>12);
|
||||
|
||||
|
|
Loading…
Reference in New Issue