From 2049febcf4889618fc71a874b8a6524bff6c5cce Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Wed, 12 Mar 2025 23:10:50 -0400 Subject: [PATCH] silence warning in new timezone renamer --- watch-library/shared/watch/watch_utility.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watch-library/shared/watch/watch_utility.c b/watch-library/shared/watch/watch_utility.c index 308159d6..4bf53bc2 100644 --- a/watch-library/shared/watch/watch_utility.c +++ b/watch-library/shared/watch/watch_utility.c @@ -334,7 +334,7 @@ uint8_t watch_utility_days_in_month(uint8_t month, uint16_t year) { char _scratch_timezone[7] = {0}; char *watch_utility_time_zone_name_at_index(int32_t tzindex) { - char *zone_in_rom = (zone_names + 8 * tzindex); + char *zone_in_rom = ((char *)zone_names + 8 * tzindex); if (watch_get_lcd_type() != WATCH_LCD_TYPE_CUSTOM) { // classic LCD can get a pointer to ROM