Mercurial > dovecot > original-hg > dovecot-1.2
changeset 4066:30ad1815cf1e HEAD
Compiler warning fix
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 25 Feb 2006 11:24:46 +0200 |
parents | a3090ba7429c |
children | 96ae9c096bde |
files | src/plugins/quota/quota-fs.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/quota/quota-fs.c Sat Feb 25 11:24:17 2006 +0200 +++ b/src/plugins/quota/quota-fs.c Sat Feb 25 11:24:46 2006 +0200 @@ -278,7 +278,7 @@ ctl.op = Q_GETQUOTA; ctl.uid = quota->uid; - ctl.addr = &dqblk; + ctl.addr = (caddr_t)&dqblk; if (ioctl(quota->fd, Q_QUOTACTL, &ctl) < 0) { i_error("ioctl(%s, Q_QUOTACTL) failed: %m", quota->path); quota->error = "Internal quota error";