aboutsummaryrefslogtreecommitdiffstats
path: root/lib/psitime.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/psitime.h')
-rw-r--r--lib/psitime.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/psitime.h b/lib/psitime.h
index 7732783..79fd521 100644
--- a/lib/psitime.h
+++ b/lib/psitime.h
@@ -68,7 +68,7 @@ typedef struct psi_timeval_t {
int d = micro % 365;
micro /= 365;
int y = micro;
- o << dec;
+ o << std::dec;
if (y > 0)
o << y << ((y > 1) ? _(" years ") : _(" year "));
if (d > 0)
@@ -99,7 +99,7 @@ typedef struct psi_timezone_t {
ostream::fmtflags old = s.flags();
int h = ptz.utc_offset / 3600;
int m = ptz.utc_offset % 3600;
- s << "offs: " << dec << h << "h";
+ s << "offs: " << std::dec << h << "h";
if (m != 0)
s << ", " << m << "m";
s.flags(old);