- fix compiler warnings

(Logical change 1.575)
edge.strict_endians
(none)!yura 2004-09-20 17:29:50 +00:00
parent dcdc79fd71
commit 7443484bdc
3 changed files with 8 additions and 6 deletions

View File

@ -59,7 +59,7 @@ int ntfs_attrlist_entry_add(ntfs_inode *ni, ATTR_RECORD *attr)
int err;
Dprintf("%s(): Entering for inode 0x%llx, attr 0x%x.\n",
__FUNCTION__, ni->mft_no, attr->type);
__FUNCTION__, (long long) ni->mft_no, (unsigned) attr->type);
if (!ni || !attr) {
errno = EINVAL;
@ -230,9 +230,9 @@ int ntfs_attrlist_entry_rm(ntfs_attr_search_ctx *ctx)
ale = ctx->al_entry;
Dprintf("%s(): Entering for inode 0x%llx, attr 0x%x, lowest_vcn "
"%lld.\n", __FUNCTION__, ctx->ntfs_ino->mft_no,
le32_to_cpu(ctx->attr->type),
le64_to_cpu(ctx->attr->lowest_vcn));
"%lld.\n", __FUNCTION__, (long long) ctx->ntfs_ino->mft_no,
(unsigned) le32_to_cpu(ctx->attr->type),
(long long) le64_to_cpu(ctx->attr->lowest_vcn));
new_al_len = base_ni->attr_list_size - le16_to_cpu(ale->length);
new_al = malloc(new_al_len);

View File

@ -385,7 +385,8 @@ int ntfs_inode_sync(ntfs_inode *ni)
return -1;
}
Dprintf("%s(): Entring for inode 0x%llx.\n", __FUNCTION__, ni->mft_no);
Dprintf("%s(): Entering for inode 0x%llx.\n",
__FUNCTION__, (long long) ni->mft_no);
/* Write out attribute list from cache to disk. */
if (ni->nr_extents != -1 && NInoAttrList(ni) &&

View File

@ -1471,7 +1471,8 @@ int ntfs_mft_record_free(ntfs_volume *vol, ntfs_inode *ni)
int err;
u16 seq_no, old_seq_no;
Dprintf("%s(): Entring for inode 0x%llx.\n", __FUNCTION__, ni->mft_no);
Dprintf("%s(): Entering for inode 0x%llx.\n",
__FUNCTION__, (long long) ni->mft_no);
if (!vol || !vol->mftbmp_na || !ni) {
errno = EINVAL;