summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_tape.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fhandler_tape.cc')
-rw-r--r--winsup/cygwin/fhandler_tape.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/winsup/cygwin/fhandler_tape.cc b/winsup/cygwin/fhandler_tape.cc
index b9833ffaf..2b848303f 100644
--- a/winsup/cygwin/fhandler_tape.cc
+++ b/winsup/cygwin/fhandler_tape.cc
@@ -392,8 +392,7 @@ mtinfo_drive::_set_pos (HANDLE mt, int mode, int32_t count, int partition,
}
int
-mtinfo_drive::set_pos (HANDLE mt, int mode, int32_t count,
- bool sfm_func)
+mtinfo_drive::set_pos (HANDLE mt, int mode, int32_t count, bool sfm_func)
{
int err = 0;
int32_t undone = count;
@@ -819,8 +818,8 @@ mtinfo_drive::get_status (HANDLE mt, struct mtget *get)
if (mp ()->WriteProtected)
get->mt_gstat |= GMT_WR_PROT (-1);
- get->mt_capacity = get_ll (mp ()->Capacity);
- get->mt_remaining = get_ll (mp ()->Remaining);
+ get->mt_capacity = mp ()->Capacity.QuadPart;
+ get->mt_remaining = mp ()->Remaining.QuadPart;
}
if (notape)