summaryrefslogtreecommitdiff
path: root/src/emacs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/emacs.cc')
-rw-r--r--src/emacs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emacs.cc b/src/emacs.cc
index 714302c5..3c3c1b7b 100644
--- a/src/emacs.cc
+++ b/src/emacs.cc
@@ -39,7 +39,7 @@ void format_emacs_xacts::write_entry(entry_t& entry)
out << "\"" << entry.pathname << "\" "
<< (static_cast<std::size_t>(entry.beg_line) + 1) << " ";
- tm when = gregorian::to_tm(*entry.date());
+ tm when = gregorian::to_tm(entry.date());
std::time_t date = std::mktime(&when); // jww (2008-04-20): Is this GMT or local?
out << "(" << (date / 65536) << " " << (date % 65536) << " 0) ";