Overview
Comment: | OFDate: Avoid useless float -> double cast |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
2829d3ecbde304032edf0348178bb136 |
User & Date: | js on 2018-05-21 16:14:38 |
Other Links: | manifest | tags |
Context
2018-05-21
| ||
20:12 | Support for linking tests against objfw_rt.library check-in: d9ce8955ac user: js tags: trunk | |
16:14 | OFDate: Avoid useless float -> double cast check-in: 2829d3ecbd user: js tags: trunk | |
16:09 | configure: Add -fexceptions to LDFLAGS check-in: 30d85dc3fc user: js tags: trunk | |
Changes
Modified src/OFDate.m from [dd9564fb7b] to [6f5701bcb5].
︙ | ︙ | |||
169 170 171 172 173 174 175 | /* Hours */ seconds += tm->tm_hour * 3600; /* Minutes */ seconds += tm->tm_min * 60; /* Seconds */ seconds += tm->tm_sec; /* Time zone */ | | | 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 | /* Hours */ seconds += tm->tm_hour * 3600; /* Minutes */ seconds += tm->tm_min * 60; /* Seconds */ seconds += tm->tm_sec; /* Time zone */ seconds += -(double)*tz * 60; return seconds; } @implementation OFDate #if (!defined(HAVE_GMTIME_R) || !defined(HAVE_LOCALTIME_R)) && \ defined(OF_HAVE_THREADS) |
︙ | ︙ |