]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
Define HAVE_UINTPTR_T in rrd_config.h for Windows 834/head
authorWolfgang Stöggl <c72578@yahoo.de>
Wed, 11 Oct 2017 19:47:22 +0000 (21:47 +0200)
committerWolfgang Stöggl <c72578@yahoo.de>
Wed, 11 Oct 2017 19:47:22 +0000 (21:47 +0200)
commit1ea9490d3c08f4cb6b0639398b3fded1dbdcc927
treefff2485c9acafbde5212c182bbc70c1d1c43dd2e
parent7630b9f876edb011fdc525a92aca028a13f5d0e4
Define HAVE_UINTPTR_T in rrd_config.h for Windows

- Fixes compilation error, when building for x64 under Windows (MSVC):
  ./src\rrd_snprintf.c(901): warning C4311: 'type cast':
  pointer truncation from 'const char *' to 'unsigned long'
- uintptr_t is a defined standard type in Visual Studio:
  https://msdn.microsoft.com/en-us/library/323b6b3k.aspx
win32/rrd_config.h