Skip to content

Commit

Permalink
I am a little upset now
Browse files Browse the repository at this point in the history
  • Loading branch information
gentryx committed Feb 21, 2017
1 parent c99a10b commit d1e8fef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libgeodecomp/io/timestringconversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class TimeStringConversion
time_t secondsSinceEpoch = time_t(intFraction);
tm timeSpec;
#ifdef _WIN32
gmtime_s(&secondsSinceEpoch, &timeSpec);
gmtime_s(&timeSpec, &secondsSinceEpoch);
#else
gmtime_r(&secondsSinceEpoch, &timeSpec);
#endif
Expand Down

0 comments on commit d1e8fef

Please sign in to comment.