Skip to content
Snippets Groups Projects
Commit 012f46b9 authored by Andrew Price's avatar Andrew Price
Browse files

Fix initialiser type mismatch in CFG_END

parent bfb79d90
No related branches found
No related tags found
Loading
......@@ -24,7 +24,7 @@ struct cfg_default_opt {
.o_type = CFG_OPT_##type, \
.o_name = name, \
.o_val._OPTTYP(type) = value }
#define CFG_END { NULL, NULL, {0} }
#define CFG_END { 0, NULL, {0} }
extern int cfg_init_defaults(const struct cfg_default_opt *dft_opts);
extern int cfg_load(const char *cfg_file);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment