From 9fca23feb2de9545ee4ba43649dcbc7df9b3e14f Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Wed, 19 Jan 2005 10:31:46 +0000 Subject: [PATCH] Fix type casts after Yura's prototype changes. (Logical change 1.664) --- libntfs/runlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libntfs/runlist.c b/libntfs/runlist.c index d1f48181..3e7b1763 100644 --- a/libntfs/runlist.c +++ b/libntfs/runlist.c @@ -1355,12 +1355,12 @@ __inline__ int ntfs_write_significant_bytes(u8 *dst, const u8 *dst_max, if (dst > dst_max) goto err_out; i++; - *dst = (s8)-1; + *dst = (u8)-1; } else if (n > 0LL && j < 0) { if (dst > dst_max) goto err_out; i++; - *dst = (s8)0; + *dst = 0; } return i; err_out: