aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_cfg_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_cfg_file.c')
-rw-r--r--src/lua/lua_cfg_file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lua/lua_cfg_file.c b/src/lua/lua_cfg_file.c
index 799a603c0..b67466d7b 100644
--- a/src/lua/lua_cfg_file.c
+++ b/src/lua/lua_cfg_file.c
@@ -68,7 +68,7 @@ lua_process_module (lua_State *L, const gchar *param, struct config_file *cfg)
{
GList *cur_opt;
struct module_opt *cur;
- const char *name;
+ const gchar *name;
gboolean new_module = FALSE;
/* Get module opt structure */
@@ -95,10 +95,10 @@ lua_process_module (lua_State *L, const gchar *param, struct config_file *cfg)
/* Process single element */
void
-lua_process_element (struct config_file *cfg, const char *name, struct module_opt *opt, int idx)
+lua_process_element (struct config_file *cfg, const gchar *name, struct module_opt *opt, gint idx)
{
lua_State *L = cfg->lua_state;
- int t;
+ gint t;
double *num;
gboolean *flag;