mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.0.1550: various small problems in source files
Problem: Various small problems in source files. Solution: Fix the problems.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user