diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2016-10-01 13:46:24 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2016-10-01 13:46:29 -0500 |
commit | 1edd64c62f703172d3bcb638631518f30bfff2d9 (patch) | |
tree | 77c32bfb5c2c3facd5792369727080fc40301cf8 | |
parent | e4fcc7fd8faab801c98d972fe305aeed9b9d7790 (diff) | |
download | ulab-1edd64c62f703172d3bcb638631518f30bfff2d9.tar.gz ulab-1edd64c62f703172d3bcb638631518f30bfff2d9.zip |
Fix FTBFS
-rw-r--r-- | lib/libtqtrla/src/Makefile.am | 2 | ||||
-rw-r--r-- | servers/admin_sys_ctl_server_lin/src/admin_sys_ctl.cpp | 2 | ||||
-rw-r--r-- | servers/auth_server_lin/src/auth_conn.cpp | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/libtqtrla/src/Makefile.am b/lib/libtqtrla/src/Makefile.am index 55d705c..5395ee2 100644 --- a/lib/libtqtrla/src/Makefile.am +++ b/lib/libtqtrla/src/Makefile.am @@ -8,4 +8,4 @@ include_HEADERS = tqtrla.h libtqtrla_la_SOURCES = tqtrla.cpp libtqtrla_la_LIBADD = $(LIB_TDEIO) $(LIB_TDEUI) -libtqtrla_la_LDFLAGS = -version-info $(lt_current):$(lt_revision):$(lt_age) -no-undefined $(all_libraries) $(LIB_TDEPARTS) -ltdekrbsocket +libtqtrla_la_LDFLAGS = -version-info $(lt_current):$(lt_revision):$(lt_age) -no-undefined $(all_libraries) $(LIB_TDEPARTS) -ltdeldap -ltdekrbsocket diff --git a/servers/admin_sys_ctl_server_lin/src/admin_sys_ctl.cpp b/servers/admin_sys_ctl_server_lin/src/admin_sys_ctl.cpp index 2746467..a2cd088 100644 --- a/servers/admin_sys_ctl_server_lin/src/admin_sys_ctl.cpp +++ b/servers/admin_sys_ctl_server_lin/src/admin_sys_ctl.cpp @@ -299,7 +299,7 @@ void SysCtlSocket::commandLoop() { if (databaseActivityCursor.next()) { TQSqlRecord *buffer = databaseActivityCursor.primeUpdate(); if (terminationOffset > -2) { - buffer->setValue("terminate", terminationTime.toTime_t()); + buffer->setValue("terminate", (TQ_ULLONG)terminationTime.toTime_t()); } else { buffer->setValue("terminate", 0); diff --git a/servers/auth_server_lin/src/auth_conn.cpp b/servers/auth_server_lin/src/auth_conn.cpp index ce1e752..c5f8fa7 100644 --- a/servers/auth_server_lin/src/auth_conn.cpp +++ b/servers/auth_server_lin/src/auth_conn.cpp @@ -383,7 +383,7 @@ void AuthSocket::updateStatistics(int eventType) { } TQString userID = m_authenticatedUserName + "@" + m_authenticatedRealmName; TQSqlRecord *buffer = m_databaseStatisticsCursor->primeInsert(); - buffer->setValue("timestamp", TQDateTime::currentDateTime().toTime_t()); + buffer->setValue("timestamp", (TQ_ULLONG)TQDateTime::currentDateTime().toTime_t()); buffer->setValue("eventtypeid", eventType); buffer->setValue("arbiter", m_localMachineFQDN); buffer->setValue("stationid", m_stationID); @@ -567,7 +567,7 @@ void AuthSocket::commandLoop() { buffer->setValue("arbiter", m_localMachineFQDN); buffer->setValue("username", m_authenticatedUserName); buffer->setValue("realmname", m_authenticatedRealmName); - buffer->setValue("logontime", TQDateTime::currentDateTime().toTime_t()); + buffer->setValue("logontime", (TQ_ULLONG)TQDateTime::currentDateTime().toTime_t()); buffer->setValue("serviceid", m_serviceID); buffer->setValue("terminate", 0); m_databaseActivityCursor->insert(); @@ -658,7 +658,7 @@ void AuthSocket::commandLoop() { buffer->setValue("arbiter", m_localMachineFQDN); buffer->setValue("username", m_authenticatedUserName); buffer->setValue("realmname", m_authenticatedRealmName); - buffer->setValue("logontime", TQDateTime::currentDateTime().toTime_t()); + buffer->setValue("logontime", (TQ_ULLONG)TQDateTime::currentDateTime().toTime_t()); buffer->setValue("serviceid", m_serviceID); buffer->setValue("terminate", 0); m_databaseActivityCursor->insert(); @@ -804,7 +804,7 @@ AuthServer::AuthServer(TQObject* parent) : // Update statistics TQSqlCursor databaseStatisticsCursor("statistics", TRUE, m_database); TQSqlRecord *buffer = databaseStatisticsCursor.primeInsert(); - buffer->setValue("timestamp", TQDateTime::currentDateTime().toTime_t()); + buffer->setValue("timestamp", (TQ_ULLONG)TQDateTime::currentDateTime().toTime_t()); buffer->setValue("eventtypeid", STATISTICS_SERVER_START_EVENT); databaseStatisticsCursor.insert(); @@ -826,7 +826,7 @@ AuthServer::~AuthServer() { // Update statistics TQSqlCursor databaseStatisticsCursor("statistics", TRUE, m_database); TQSqlRecord *buffer = databaseStatisticsCursor.primeInsert(); - buffer->setValue("timestamp", TQDateTime::currentDateTime().toTime_t()); + buffer->setValue("timestamp", (TQ_ULLONG)TQDateTime::currentDateTime().toTime_t()); buffer->setValue("eventtypeid", STATISTICS_SERVER_STOP_EVENT); databaseStatisticsCursor.insert(); |