diff options
author | Mavhod <mavhod@gmail.com> | 2015-08-13 18:56:13 +0700 |
---|---|---|
committer | Mavhod <mavhod@gmail.com> | 2015-08-13 18:56:13 +0700 |
commit | 3942117bbf1b669fb81628bb401d16ad83f1f2bb (patch) | |
tree | f2827e2ad241407ea14a5b433739af9cc753ea3c /drivers/unix | |
parent | 69710055f0af99838d669b2e3fa3f1ae8bf6683d (diff) |
add ()
Sorry, firt time I put it but had no compiled for check.
Diffstat (limited to 'drivers/unix')
-rw-r--r-- | drivers/unix/os_unix.cpp | 2 |
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; |