diff options
author | jkh <jkh@FreeBSD.org> | 1996-12-05 18:05:11 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-12-05 18:05:11 +0000 |
commit | bd235b6b0f4081a910b4b600d4db3bd3df9631b8 (patch) | |
tree | 3cdff86be21f7fc5d2c88a4b0c215b3ba733560d /lib/libc/db/recno | |
parent | f204d1bbeec6997dad47a92864af6c7b521a0b17 (diff) | |
download | FreeBSD-src-bd235b6b0f4081a910b4b600d4db3bd3df9631b8.zip FreeBSD-src-bd235b6b0f4081a910b4b600d4db3bd3df9631b8.tar.gz |
make u_char * -> char * conversion explicit.
Found-By: insight's "insure++" tool.
Diffstat (limited to 'lib/libc/db/recno')
-rw-r--r-- | lib/libc/db/recno/rec_close.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/db/recno/rec_close.c b/lib/libc/db/recno/rec_close.c index 16fb0b4..1c124de 100644 --- a/lib/libc/db/recno/rec_close.c +++ b/lib/libc/db/recno/rec_close.c @@ -155,7 +155,7 @@ __rec_sync(dbp, flags) status = (dbp->seq)(dbp, &key, &data, R_NEXT); } } else { - iov[1].iov_base = &t->bt_bval; + iov[1].iov_base = (char *)&t->bt_bval; iov[1].iov_len = 1; status = (dbp->seq)(dbp, &key, &data, R_FIRST); |