From c4f12f59cc907577d787f816b37122809f896bb2 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 12 May 2008 14:35:56 +0000 Subject: -Wall fixes by Cristian Ionescu-Idbohrn. No object code changes. --- miscutils/eject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miscutils') diff --git a/miscutils/eject.c b/miscutils/eject.c index 42e0719..91cf98f 100644 --- a/miscutils/eject.c +++ b/miscutils/eject.c @@ -57,7 +57,7 @@ static void eject_scsi(const char *dev) io_hdr.timeout = 2000; for (i = 0; i < 3; i++) { - io_hdr.cmdp = (char*)sg_commands[i]; + io_hdr.cmdp = (void *)sg_commands[i]; ioctl_or_perror_and_die(dev_fd, SG_IO, (void *)&io_hdr, "%s", dev); } -- cgit v1.1