[mw-devel] [Git][arthur/mw][master] Fix initialiser type mismatch in CFG_END

Andrew Price welshbyte at sucs.org
Wed Oct 21 19:39:39 BST 2015


Andrew Price pushed to branch master at Justin Mitchell / mw


Commits:
012f46b9 by Andrew Price at 2015-10-21T19:38:00Z
Fix initialiser type mismatch in CFG_END

- - - - -


1 changed file:

- src/mwcfg.h


Changes:

=====================================
src/mwcfg.h
=====================================
--- a/src/mwcfg.h
+++ b/src/mwcfg.h
@@ -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);



View it on GitLab: https://projects.sucs.org/arthur/mw/commit/012f46b9882aab38d81878af5073c4ed3849ed20
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/mw-devel/attachments/20151021/fe4a39fb/attachment.html>


More information about the mw-devel mailing list