summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/format
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/format')
-rw-r--r--plugins/pychrysalide/format/flat.c2
-rw-r--r--plugins/pychrysalide/format/symbol.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysalide/format/flat.c b/plugins/pychrysalide/format/flat.c
index 18ad414..3f32832 100644
--- a/plugins/pychrysalide/format/flat.c
+++ b/plugins/pychrysalide/format/flat.c
@@ -168,7 +168,7 @@ PyTypeObject *get_python_flat_format_type(void)
.tp_methods = py_flat_format_methods,
.tp_getset = py_flat_format_getseters,
- .tp_new = (newfunc)py_flat_format_new
+ .tp_new = py_flat_format_new
};
diff --git a/plugins/pychrysalide/format/symbol.c b/plugins/pychrysalide/format/symbol.c
index d2d1637..f75f762 100644
--- a/plugins/pychrysalide/format/symbol.c
+++ b/plugins/pychrysalide/format/symbol.c
@@ -416,7 +416,7 @@ PyTypeObject *get_python_binary_symbol_type(void)
.tp_methods = py_bin_symbol_methods,
.tp_getset = py_bin_symbol_getseters,
- .tp_new = (newfunc)py_binary_symbol_new
+ .tp_new = py_binary_symbol_new
};