diff options
author | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2024-01-26 16:29:04 +0100 |
---|---|---|
committer | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2024-01-27 04:30:09 +0100 |
commit | da410506a401abc853ee23e56ca1e25eb47cd6e6 (patch) | |
tree | 6a42e537b6bfbdb460e7f542e4731fc5cad40dd8 /externals | |
parent | Merge pull request #12808 from t895/uri-moment (diff) | |
download | yuzu-da410506a401abc853ee23e56ca1e25eb47cd6e6.tar yuzu-da410506a401abc853ee23e56ca1e25eb47cd6e6.tar.gz yuzu-da410506a401abc853ee23e56ca1e25eb47cd6e6.tar.bz2 yuzu-da410506a401abc853ee23e56ca1e25eb47cd6e6.tar.lz yuzu-da410506a401abc853ee23e56ca1e25eb47cd6e6.tar.xz yuzu-da410506a401abc853ee23e56ca1e25eb47cd6e6.tar.zst yuzu-da410506a401abc853ee23e56ca1e25eb47cd6e6.zip |
Diffstat (limited to 'externals')
-rw-r--r-- | externals/tz/tz/tz.cpp | 4 | ||||
-rw-r--r-- | externals/tz/tz/tz.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/externals/tz/tz/tz.cpp b/externals/tz/tz/tz.cpp index 0c8b68217..04fa6cc8a 100644 --- a/externals/tz/tz/tz.cpp +++ b/externals/tz/tz/tz.cpp @@ -1625,11 +1625,11 @@ s32 ParseTimeZoneBinary(Rule& out_rule, std::span<const u8> binary) { return 0; } -bool localtime_rz(CalendarTimeInternal* tmp, Rule* sp, time_t* timep) { +bool localtime_rz(CalendarTimeInternal* tmp, Rule const* sp, time_t* timep) { return localsub(sp, timep, 0, tmp) == nullptr; } -u32 mktime_tzname(time_t* out_time, Rule* sp, CalendarTimeInternal* tmp) { +u32 mktime_tzname(time_t* out_time, Rule const* sp, CalendarTimeInternal* tmp) { return time1(out_time, tmp, localsub, sp, 0); } diff --git a/externals/tz/tz/tz.h b/externals/tz/tz/tz.h index 38605cfb1..dae4459bc 100644 --- a/externals/tz/tz/tz.h +++ b/externals/tz/tz/tz.h @@ -75,7 +75,7 @@ static_assert(sizeof(CalendarTimeInternal) == 0x3C, "CalendarTimeInternal has th s32 ParseTimeZoneBinary(Rule& out_rule, std::span<const u8> binary); -bool localtime_rz(CalendarTimeInternal* tmp, Rule* sp, time_t* timep); -u32 mktime_tzname(time_t* out_time, Rule* sp, CalendarTimeInternal* tmp); +bool localtime_rz(CalendarTimeInternal* tmp, Rule const* sp, time_t* timep); +u32 mktime_tzname(time_t* out_time, Rule const* sp, CalendarTimeInternal* tmp); } // namespace Tz |