commit | 792f0e36593d1ec13ccb8a622ca5542c500577b4 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Feb 27 17:27:13 2018 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Feb 27 17:27:13 2018 +0100 |
tree | 34a6e9340f01bc14adda8f1f286ab56788b06de0 | |
parent | 5d7ead3bc85eefd0929bfcbb579510c8164ea1be [diff] [blame] |
patch 8.0.1550: various small problems in source files Problem: Various small problems in source files. Solution: Fix the problems.
diff --git a/src/if_py_both.h b/src/if_py_both.h index 3380142..48137f1 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h
@@ -5996,7 +5996,7 @@ 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);