summaryrefslogtreecommitdiff
path: root/module/mod_auth_singleid.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2009-06-18 21:55:50 +0000
committerStef Walter <stef@memberwebs.com>2009-06-18 21:55:50 +0000
commit86c2a744f1feba57c107a0a985f3026f2f3817a5 (patch)
tree1ccbd72bac8f77dd080993428c936d20f1cfd4fd /module/mod_auth_singleid.c
parent7976a44058b218f9729f96115886d49de2c49a5f (diff)
FreeBSD compile fixes
Diffstat (limited to 'module/mod_auth_singleid.c')
-rw-r--r--module/mod_auth_singleid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/mod_auth_singleid.c b/module/mod_auth_singleid.c
index 4ee7421..2e46586 100644
--- a/module/mod_auth_singleid.c
+++ b/module/mod_auth_singleid.c
@@ -505,7 +505,7 @@ session_send_info (sid_context_t *ctx, request_rec *r, sid_session_t *sess)
char *cookie, *sig, *value;
/* Create the cookie value and sign it */
- value = apr_psprintf (r->pool, "1 %ld \"%s\"", sess->expiry, ap_escape_quotes (r->pool, sess->identifier));
+ value = apr_psprintf (r->pool, "1 %ld \"%s\"", (long)sess->expiry, ap_escape_quotes (r->pool, sess->identifier));
sig = session_create_sig (r->pool, value);
/* Build up the full cookie spec */