From e4d877bb709759d874a8c3f4103d660a431279c4 Mon Sep 17 00:00:00 2001
From: Daniel Carl <danielcarl@gmx.de>
Date: Thu, 22 Nov 2018 00:23:09 +0100
Subject: [PATCH] Fixed -Wpointer-sign warning.

---
 src/normal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/normal.c b/src/normal.c
index 0efc0b1..5a2a27d 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -765,7 +765,7 @@ static void normal_view_source_loaded(WebKitWebResource *resource,
 
     data = webkit_web_resource_get_data_finish(resource, res, &length, NULL);
     if (data) {
-        text = g_strndup(data, length);
+        text = g_strndup((gchar*)data, length);
         command_spawn_editor(c, &((Arg){0, (char *)text}), NULL, NULL);
         g_free(data);
         g_free(text);
-- 
2.20.1