- Fix build without config.h.

- Fix gcc4 very large warning in ntfsrm.
edge.strict_endians
cha0smaster 2005-06-16 23:16:32 +00:00
parent e323ed6a03
commit 5becfe6c30
2 changed files with 4 additions and 3 deletions

View File

@ -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>

View File

@ -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);