1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- Fix patch after unfortunate escaping

Spotted by:	kib (original submitter)
This commit is contained in:
Andrew Pantyukhin 2007-04-23 15:33:34 +00:00
parent d1abe30ad1
commit 9efdcc6441
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190741

View File

@ -21,12 +21,12 @@
short ZLUnixTimeManager::hoursBySeconds(long seconds) const {
- return localtime(&seconds)->tm_hour;
+ time_t st =3D seconds;
+ time_t st = seconds;
+ return localtime(&st)->tm_hour;
}
short ZLUnixTimeManager::minutesBySeconds(long seconds) const {
- return localtime(&seconds)->tm_min;
+ time_t st =3D seconds;
+ time_t st = seconds;
+ return localtime(&st)->tm_min;
}