]> code.citadel.org Git - citadel.git/blobdiff - citadel/routines.c
fixed time_t handling (have to cast it to long for printf/scanf)
[citadel.git] / citadel / routines.c
index 8a0790923fcb73f0a409d17ea5216d10bee29749..5bee93e9c557d2bfab32e3a837c0ac1d2d92da42 100644 (file)
@@ -146,7 +146,7 @@ void edituser(void)
 
        sprintf(buf, "ASUP %s|%s|%d|%d|%d|%d|%ld|%ld|%d",
                who, pass, flags, timescalled, posted, axlevel, usernum,
-               lastcall, userpurge);
+               (long)lastcall, userpurge);
        serv_puts(buf);
        serv_gets(buf);
        if (buf[0]!='2') {