[dovecot-cvs] dovecot/src/plugins/quota quota-fs.c,1.7,1.8
cras at dovecot.org
cras at dovecot.org
Sat Feb 25 11:24:48 EET 2006
Update of /var/lib/cvs/dovecot/src/plugins/quota
In directory talvi:/tmp/cvs-serv208
Modified Files:
quota-fs.c
Log Message:
Compiler warning fix
Index: quota-fs.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/quota/quota-fs.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- quota-fs.c 25 Feb 2006 09:10:04 -0000 1.7
+++ quota-fs.c 25 Feb 2006 09:24:46 -0000 1.8
@@ -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";
More information about the dovecot-cvs
mailing list