[libchamplain] Fix warnings in memphis renderer



commit e8cbcfa4586db3235a25b89e3abcd38c1c184cad
Author: Jiří Techet <techet gmail com>
Date:   Wed Feb 6 00:13:01 2019 +0100

    Fix warnings in memphis renderer

 champlain/champlain-memphis-renderer.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/champlain/champlain-memphis-renderer.c b/champlain/champlain-memphis-renderer.c
index 1d1987f..8b95c16 100644
--- a/champlain/champlain-memphis-renderer.c
+++ b/champlain/champlain-memphis-renderer.c
@@ -71,7 +71,7 @@ enum
 static void render (ChamplainRenderer *renderer,
     ChamplainTile *tile);
 static void set_data (ChamplainRenderer *renderer,
-    const gchar *data,
+    const guint8 *data,
     guint size);
 static void set_bounding_box (ChamplainMemphisRenderer *renderer,
     ChamplainBoundingBox *bbox);
@@ -459,7 +459,7 @@ render (ChamplainRenderer *renderer,
 
 static void
 set_data (ChamplainRenderer *renderer,
-    const gchar *data,
+    const guint8 *data,
     guint size)
 {
   ChamplainMemphisRendererPrivate *priv = GET_PRIVATE (renderer);
@@ -468,7 +468,7 @@ set_data (ChamplainRenderer *renderer,
 
   MemphisMap *map = memphis_map_new ();
 
-  memphis_map_load_from_data (map, data, size, &err);
+  memphis_map_load_from_data (map, (gchar *)data, size, &err);
 
   DEBUG ("BBox data received");
 


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