From fcb037f34cfacf3f961955d3f2d0839ce69920a5 Mon Sep 17 00:00:00 2001 From: vakwetu Date: Sat, 22 Jan 2011 06:17:39 +0000 Subject: Bugzilla BZ 606944: Convert TPS to use ldap utilities and API from OpenLDAP instead of the Mozldap git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1766 c9f7a03b-bd48-0410-a16d-cbbf54688b0b --- pki/base/tps/src/main/RollingLogFile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pki/base/tps/src/main/RollingLogFile.cpp') diff --git a/pki/base/tps/src/main/RollingLogFile.cpp b/pki/base/tps/src/main/RollingLogFile.cpp index dd8f2dba1..692a94334 100644 --- a/pki/base/tps/src/main/RollingLogFile.cpp +++ b/pki/base/tps/src/main/RollingLogFile.cpp @@ -155,7 +155,7 @@ int RollingLogFile::write(char *msg) { } status = LogFile::write(msg); - if ((get_bytes_written() >= (m_max_file_size*1024)) && (m_max_file_size >0)) { + if ((get_bytes_written() >= ((int) m_max_file_size*1024)) && (m_max_file_size >0)) { if (! m_signed_log) { rotate(); m_rotation_needed = false; @@ -390,7 +390,7 @@ void RollingLogFile::expire() { PRTime earliestModTime; PRInt64 expiration_interval; PRInt64 usec_per_sec; - PRInt64 tmp, tmp1, tmp2; + PRInt64 tmp, tmp1; PRStatus status; if (m_expiration_time == 0) { -- cgit