mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
fix(Utils): getTmAsTimeT must return time_t
This commit is contained in:
parent
9c461f5fc0
commit
1548254bea
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ tm Utils::getTimeTAsTm (time_t time) {
|
|||
return *gmtime_r(&time, &result);
|
||||
}
|
||||
|
||||
long Utils::getTmAsTimeT (const tm &time) {
|
||||
time_t Utils::getTmAsTimeT (const tm &time) {
|
||||
return timegm(&const_cast<tm &>(time));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue