summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMavhod <mavhod@gmail.com>2015-08-13 18:56:13 +0700
committerMavhod <mavhod@gmail.com>2015-08-13 18:56:13 +0700
commit3942117bbf1b669fb81628bb401d16ad83f1f2bb (patch)
treef2827e2ad241407ea14a5b433739af9cc753ea3c /drivers
parent69710055f0af99838d669b2e3fa3f1ae8bf6683d (diff)
add ()
Sorry, firt time I put it but had no compiled for check.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/unix/os_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp
index ba151b0f44..975affbb82 100644
--- a/drivers/unix/os_unix.cpp
+++ b/drivers/unix/os_unix.cpp
@@ -242,7 +242,7 @@ OS::Date OS_Unix::get_date(bool utc) const {
lt=localtime(&t);
Date ret;
ret.year=1900+lt->tm_year;
- ret.month=(Month)lt->tm_mon + 1;
+ ret.month=(Month)(lt->tm_mon + 1);
ret.day=lt->tm_mday;
ret.weekday=(Weekday)lt->tm_wday;
ret.dst=lt->tm_isdst;