[gitg/ricotz/vala: 2/3] Silence -Wincompatible-pointer-types warning




commit ea7ff7d2a301d5056608df605808c0e1e071392e
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Feb 22 13:07:30 2021 +0100

    Silence -Wincompatible-pointer-types warning

 libgitg/gitg-platform-support.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgitg/gitg-platform-support.c b/libgitg/gitg-platform-support.c
index 5d49fd16..0946a0b2 100644
--- a/libgitg/gitg-platform-support.c
+++ b/libgitg/gitg-platform-support.c
@@ -50,7 +50,7 @@ GInputStream *
 gitg_platform_support_http_get_finish (GAsyncResult  *result,
                                        GError       **error)
 {
-       return G_INPUT_STREAM (g_file_read_finish (g_async_result_get_source_object (result), result, error));
+       return G_INPUT_STREAM (g_file_read_finish (G_FILE (g_async_result_get_source_object (result)), 
result, error));
 }
 
 cairo_surface_t *


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