summaryrefslogtreecommitdiffstats
path: root/sal
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-07-05 17:55:30 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-07-05 17:55:30 +0200
commitb440845b9f04fdf498caf3bcdcc52ffc8c489639 (patch)
tree9613719e9d4b88d05a72971bbe5af9af00720958 /sal
parentupdate reference rdb for removed deprecated idls (diff)
downloadcore-b440845b9f04fdf498caf3bcdcc52ffc8c489639.tar.gz
core-b440845b9f04fdf498caf3bcdcc52ffc8c489639.zip
janitorial / stylistic
Change-Id: I8e7c1e63ff04220e530662d9a6e142f4f0e7247f
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/time.c b/sal/osl/unx/time.c
index 24947b15e40b..38e8f36f1932 100644
--- a/sal/osl/unx/time.c
+++ b/sal/osl/unx/time.c
@@ -205,13 +205,13 @@ sal_Bool SAL_CALL osl_getLocalTimeFromSystemTime( const TimeValue* pSystemTimeVa
#if defined(STRUCT_TM_HAS_GMTOFF)
/* members of struct tm are corrected by mktime */
- bias = 0 - pLocalTime->tm_gmtoff;
+ bias = -pLocalTime->tm_gmtoff;
#elif defined(HAS_ALTZONE)
/* check if daylight saving time is in effect */
bias = pLocalTime->tm_isdst > 0 ? altzone : timezone;
#else
- /* exspect daylight saving time to be one hour */
+ /* expect daylight saving time to be one hour */
bias = pLocalTime->tm_isdst > 0 ? timezone - 3600 : timezone;
#endif