From 4f033f90aa355913c7fc2bd39524200a0a0847b9 Mon Sep 17 00:00:00 2001 From: "josh.macdonald" Date: Sat, 16 Dec 2006 23:13:12 +0000 Subject: Make badcopy use xoff_t --- xdelta3/xdelta3-main.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xdelta3/xdelta3-main.h') diff --git a/xdelta3/xdelta3-main.h b/xdelta3/xdelta3-main.h index d0256f8..f9125d3 100755 --- a/xdelta3/xdelta3-main.h +++ b/xdelta3/xdelta3-main.h @@ -2512,8 +2512,8 @@ main_input (xd3_cmd cmd, char rdb[32], wdb[32]; char trdb[32], twdb[32]; long millis = get_millisecs_since (); - usize_t this_read = stream.total_in - last_total_in; - usize_t this_write = stream.total_out - last_total_out; + usize_t this_read = (usize_t)(stream.total_in - last_total_in); + usize_t this_write = (usize_t)(stream.total_out - last_total_out); last_total_in = stream.total_in; last_total_out = stream.total_out; -- cgit v1.2.3