google / cctz

CCTZ is a C++ library for translating between absolute and civil times using the rules of a time zone.
Apache License 2.0
597 stars 166 forks source link

Avoid implicit long -> int conversion when calling tm_gmtoff #258

Closed DanilChapovalov closed 1 year ago

DanilChapovalov commented 1 year ago

To support compiling library with -Werror,-Wshorten-64-to-32 flags

DanilChapovalov commented 1 year ago

Thank you, I think that works for me too, updated the patch.

devbww commented 1 year ago

Excellent. Thanks again.