Fix for Solaris. 1.3b
authorScott Cantor <cantor.2@osu.edu>
Tue, 8 Nov 2005 23:26:51 +0000 (23:26 +0000)
committerScott Cantor <cantor.2@osu.edu>
Tue, 8 Nov 2005 23:26:51 +0000 (23:26 +0000)
shib-target/shib-ccache.cpp

index 1350a1f..4251d1a 100644 (file)
@@ -568,7 +568,7 @@ bool InternalCCacheEntry::responseValid()
     // If we didn't find any assertions with times, then see if we're
     // older than the default response lifetime.
     if (!count) {
-        if (abs(now - m_responseCreated) > m_cache->m_defaultLifetime) {
+        if (abs((int)(now - m_responseCreated)) > m_cache->m_defaultLifetime) {
             m_cache->log->debug("response is beyond default life, so it's invalid");
             return false;
         }