aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-12-20 19:11:49 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-12-20 19:11:49 +0300
commit3d7650fc497c779e7ca0abc78310250d057f0301 (patch)
treeb8abe0afe4c751729fec4996b1e9db9b4f1bd0e4 /src/lua
parentea1da6a43cf4f6bfcc23722a05baaae203a00db4 (diff)
downloadrspamd-3d7650fc497c779e7ca0abc78310250d057f0301.tar.gz
rspamd-3d7650fc497c779e7ca0abc78310250d057f0301.zip
More cleanups and fixes for compiler warnings.0.4.6
Diffstat (limited to 'src/lua')
-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;
}