[libgweather/benzea/wip-variant-backend: 4/4] Only need uint16 for index



commit a060ac4ace1b1c4b6000407cd1886864dece8276
Author: Benjamin Berg <bberg redhat com>
Date:   Sun Apr 26 19:28:10 2020 +0200

    Only need uint16 for index

 libgweather/gweather-private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgweather/gweather-private.h b/libgweather/gweather-private.h
index 878269d..c2cd12a 100644
--- a/libgweather/gweather-private.h
+++ b/libgweather/gweather-private.h
@@ -74,7 +74,7 @@ struct _GWeatherLocation {
     GWeatherLocation *_parent, **_children;
     GWeatherLocationLevel level;
     char *country_code;
-    gint tz_hint_idx;
+    guint16 tz_hint_idx;
     char *station_code, *forecast_zone, *radar;
     double latitude, longitude;
     gboolean latlon_valid;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]