Avoid warnings on VC++ 2005.
[openssl.git] / ssl / ssl_lib.c
index f524f63..b79ac1c 100644 (file)
@@ -1914,7 +1914,7 @@ void ssl_update_cache(SSL *s,int mode)
                        ?s->ctx->stats.sess_connect_good
                        :s->ctx->stats.sess_accept_good) & 0xff) == 0xff)
                        {
-                       SSL_CTX_flush_sessions(s->ctx,time(NULL));
+                       SSL_CTX_flush_sessions(s->ctx,(unsigned long)time(NULL));
                        }
                }
        }