summaryrefslogtreecommitdiffstats
path: root/src/if_py_both.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-02-27 17:27:13 +0100
committerBram Moolenaar <Bram@vim.org>2018-02-27 17:27:13 +0100
commit792f0e36593d1ec13ccb8a622ca5542c500577b4 (patch)
tree34a6e9340f01bc14adda8f1f286ab56788b06de0 /src/if_py_both.h
parent5d7ead3bc85eefd0929bfcbb579510c8164ea1be (diff)
patch 8.0.1550: various small problems in source filesv8.0.1550
Problem: Various small problems in source files. Solution: Fix the problems.
Diffstat (limited to 'src/if_py_both.h')
-rw-r--r--src/if_py_both.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h
index 3380142d1e..48137f1e37 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);