aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2020-12-13 14:48:44 +0100
committerPali Rohár <pali.rohar@gmail.com>2020-12-13 14:48:44 +0100
commitd230e1ca57d1863bbb8e6ddfd3716b4832bf66c3 (patch)
treeef1d3e1ac3a500f01e64b5cf8b76855123d164e0 /tools
parentb1b55b2ae4a3c54c5dc8a8156decf39659c11381 (diff)
downloaddlfcn-win32-d230e1ca57d1863bbb8e6ddfd3716b4832bf66c3.tar.gz
dlfcn-win32-d230e1ca57d1863bbb8e6ddfd3716b4832bf66c3.tar.bz2
dlfcn-win32-d230e1ca57d1863bbb8e6ddfd3716b4832bf66c3.zip
Rewrite function save_err_ptr_str() to not use sprintf()
sprintf() is marked by MSVC as unsafe and suppressing compile warning does not work. It is still generated on AppVeyor. So rewrite code for converting pointer number to string via open coded for-loop and do not use unsafe sprintf() function anymore. New code correctly handles both 32bit and 64bit variants and does not use any #ifdef _MSC_VER anymore.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions