irnode: Remove unnecessary skip_Proj() from get_Block_cfgpred_block_().
[libfirm] / ir / libcore / lc_opts.h
index 23074ed..cf825ee 100644 (file)
@@ -123,8 +123,8 @@ typedef struct {
 #define LC_OPT_ENT_NEGBOOL(name, desc, addr) \
        _LC_OPT_ENT(name, desc, lc_opt_type_negboolean, int, addr, 0, lc_opt_std_cb, lc_opt_std_dump, lc_opt_bool_dump_vals)
 
-#define LC_OPT_ENT_STR(name, desc, buf, len) \
-       _LC_OPT_ENT(name, desc, lc_opt_type_string, char, buf, len, lc_opt_std_cb, lc_opt_std_dump, NULL)
+#define LC_OPT_ENT_STR(name, desc, buf) \
+       _LC_OPT_ENT(name, desc, lc_opt_type_string, char, buf, sizeof(buf), lc_opt_std_cb, lc_opt_std_dump, NULL)
 
 #define LC_OPT_LAST \
        _LC_OPT_ENT(NULL, NULL, lc_opt_type_invalid, void, NULL, 0, NULL, NULL, NULL)