projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1889a8d
)
Fixed -Wpointer-sign warning.
author
Daniel Carl
<danielcarl@gmx.de>
Wed, 21 Nov 2018 23:23:09 +0000
(
00:23
+0100)
committer
Daniel Carl
<danielcarl@gmx.de>
Wed, 21 Nov 2018 23:23:09 +0000
(
00:23
+0100)
src/normal.c
patch
|
blob
|
history
diff --git
a/src/normal.c
b/src/normal.c
index
0efc0b1
..
5a2a27d
100644
(file)
--- 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);