aboutsummaryrefslogtreecommitdiff
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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler/tape.cc b/winsup/cygwin/fhandler/tape.cc
index 0e235f1..732fd1b 100644
--- a/winsup/cygwin/fhandler/tape.cc
+++ b/winsup/cygwin/fhandler/tape.cc
@@ -894,9 +894,9 @@ mtinfo_drive::get_status (HANDLE mt, struct mtget *get)
}
int
-mtinfo_drive::set_options (HANDLE mt, int32_t options)
+mtinfo_drive::set_options (HANDLE mt, uint32_t options)
{
- int32_t what = (options & MT_ST_OPTIONS);
+ uint32_t what = (options & MT_ST_OPTIONS);
bool call_setparams = false;
bool set;
TAPE_SET_DRIVE_PARAMETERS sdp =