Commit 1548254b authored by Ronan's avatar Ronan

fix(Utils): getTmAsTimeT must return time_t

parent 9c461f5f
......@@ -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));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment