summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/format
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-08-18 07:47:53 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-08-18 07:47:53 (GMT)
commitef66e5930efdfccb6b7db125ada6908650e745da (patch)
tree49ee4ca6e32de55c93dae6ab48b44b0b78fad18f /plugins/pychrysalide/format
parent9167c2a44efba513aaf8cac6d5589c565ed14ddf (diff)
Removed a useless cast in the Python bindings.
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
};