diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-02-27 17:27:13 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-02-27 17:27:13 +0100 |
commit | 792f0e36593d1ec13ccb8a622ca5542c500577b4 (patch) | |
tree | 34a6e9340f01bc14adda8f1f286ab56788b06de0 /src/if_py_both.h | |
parent | 5d7ead3bc85eefd0929bfcbb579510c8164ea1be (diff) | |
download | vim-git-792f0e36593d1ec13ccb8a622ca5542c500577b4.tar.gz |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |