summaryrefslogtreecommitdiff
path: root/lib/streamSupport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/streamSupport.cpp')
-rw-r--r--lib/streamSupport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/streamSupport.cpp b/lib/streamSupport.cpp
index f3c88cf..433fb83 100644
--- a/lib/streamSupport.cpp
+++ b/lib/streamSupport.cpp
@@ -31,7 +31,7 @@ namespace std {
std::ostream &
operator<<(std::ostream & s, const timespec & ts)
{
- return MyGrate::scprintf<"%d.%09d">(s, ts.tv_sec, ts.tv_nsec);
+ return MyGrate::scprintf<"%ld.%09ld">(s, ts.tv_sec, ts.tv_nsec);
}
std::ostream &