Skip to content
Snippets Groups Projects
Commit a639f002 authored by Rene Brun's avatar Rene Brun
Browse files

Fix compilation warning

git-svn-id: http://root.cern.ch/svn/root/trunk@31512 27541ba8-7e3a-0410-8455-c3a389f83636
parent c94efb29
No related branches found
No related tags found
No related merge requests found
......@@ -617,7 +617,7 @@ int XrdCryptosslASN1toUTC(ASN1_TIME *tsn1)
if (!gmtime_r(&now, &gtn)) return etime;
//
// Calculate correction
int tzcor = difftime(mktime(&ltn), mktime(&gtn));
int tzcor = (int)difftime(mktime(&ltn), mktime(&gtn));
//
// Apply correction
etime += tzcor;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment