From 792f0e36593d1ec13ccb8a622ca5542c500577b4 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 27 Feb 2018 17:27:13 +0100 Subject: patch 8.0.1550: various small problems in source files Problem: Various small problems in source files. Solution: Fix the problems. --- src/if_py_both.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/if_py_both.h') diff --git a/src/if_py_both.h b/src/if_py_both.h index 3380142d1..48137f1e3 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -5996,7 +5996,7 @@ convert_dl(PyObject *obj, typval_T *tv, PyObject *capsule; char hexBuf[sizeof(void *) * 2 + 3]; - sprintf(hexBuf, "%p", obj); + sprintf(hexBuf, "%p", (void *)obj); # ifdef PY_USE_CAPSULE capsule = PyDict_GetItemString(lookup_dict, hexBuf); -- cgit v1.2.1