Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /libopt++/popt_options.cpp [6b0ad6] .. [d3a2c6] Maximize Restore

  Switch to side-by-side view

--- a/libopt++/popt_options.cpp
+++ b/libopt++/popt_options.cpp
@@ -251,7 +251,7 @@
                          void * data, unsigned int popt_flags)
 	: option_name(name)
 {
-	poptOption const opt = { name, short_name, popt_flags,
+	poptOption const opt = { name, short_name, (typeof(opt.argInfo))popt_flags,
 	                         data, 0, help, arg_help };
 
 	popt_options().push_back(opt);