summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/analysis/db
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-01-31 18:43:30 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-01-31 18:46:55 (GMT)
commit5efaafe278314051661c99c1e33a00d0883025a6 (patch)
treef4ee10bdb5605a82b80955fcfbf56a623ffc414d /plugins/pychrysalide/analysis/db
parent8f557031ec362c4b2e85724f6bc392086cefadea (diff)
Fixed mistakes relative to PyUnicode_Check() return value.
Diffstat (limited to 'plugins/pychrysalide/analysis/db')
-rw-r--r--plugins/pychrysalide/analysis/db/certs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysalide/analysis/db/certs.c b/plugins/pychrysalide/analysis/db/certs.c
index 61b5f58..5fd2034 100644
--- a/plugins/pychrysalide/analysis/db/certs.c
+++ b/plugins/pychrysalide/analysis/db/certs.c
@@ -78,7 +78,7 @@ static bool py_certs_fill_x509_entries(PyObject *dict, x509_entries *out)
{ \
result = PyUnicode_Check(value); \
if (result) \
- out->dest = strdup((char *)PyUnicode_DATA(value)); \
+ out->dest = strdup(PyUnicode_DATA(value)); \
else \
PyErr_Format(PyExc_TypeError, _("The %s property must be a string."), name); \
} \