summaryrefslogtreecommitdiff
path: root/sysutils/logstalgia/files/patch-src__logstalgia.cpp
blob: 26faa8e65766cee0e00f4ab23139f2cb24506090 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/logstalgia.cpp.orig	2011-02-15 23:52:06 UTC
+++ src/logstalgia.cpp
@@ -392,7 +392,7 @@ std::string Logstalgia::dateAtPosition(f
             //display date
             char datestr[256];
 
-            long timestamp = le.timestamp;
+            time_t timestamp = le.timestamp;
 
             struct tm* timeinfo = localtime ( &timestamp );
             strftime(datestr, 256, "%H:%M:%S %B %d, %Y", timeinfo);