diff options
-rw-r--r-- | usr.sbin/lpr/common_source/rmjob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/lpr/common_source/rmjob.c b/usr.sbin/lpr/common_source/rmjob.c index 13f7d42..589117a 100644 --- a/usr.sbin/lpr/common_source/rmjob.c +++ b/usr.sbin/lpr/common_source/rmjob.c @@ -350,7 +350,7 @@ rmremote(const struct printer *pp) } firstreq = elem; for (i = 0; i < requests; i++) { - asprintf(&iov[elem].iov_base, " %d", requ[i]); + asprintf((char **)&iov[elem].iov_base, " %d", requ[i]); if (iov[elem].iov_base == 0) fatal(pp, "out of memory in rmremote()"); elem++; |