aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_task.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_task.c')
-rw-r--r--src/lua/lua_task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index 7cca35c3d..c0b299fb7 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -1248,7 +1248,7 @@ lua_textpart_get_content (lua_State * L)
return 1;
}
- lua_pushlstring (L, part->content->data, part->content->len);
+ lua_pushlstring (L, (const gchar *)part->content->data, part->content->len);
return 1;
}