aboutsummaryrefslogtreecommitdiff
path: root/lib/sg_pt_haiku.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sg_pt_haiku.c')
-rw-r--r--lib/sg_pt_haiku.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sg_pt_haiku.c b/lib/sg_pt_haiku.c
index c9ed291c..6b1ed222 100644
--- a/lib/sg_pt_haiku.c
+++ b/lib/sg_pt_haiku.c
@@ -148,7 +148,7 @@ set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb,
if (ptp->raw_command.command[i])
++ptp->in_err;
memcpy(ptp->raw_command.command, cdb, cdb_len);
- ptp->raw_command.command_length = (uint8)cdb_len;
+ ptp->raw_command.command_length = (uint8_t)cdb_len;
}
void