summaryrefslogtreecommitdiffstats
path: root/Tests/FindThreads
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2015-09-22 04:46:28 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-25 14:08:06 (GMT)
commit66db914adfd8cbb846fcf82e290fe006a800a36d (patch)
tree456a42400ba94edecbcd427bd73553a9414ea703 /Tests/FindThreads
parent0b38424cf26fea866c54b75347de0c5c8a8d15d3 (diff)
downloadCMake-66db914adfd8cbb846fcf82e290fe006a800a36d.zip
CMake-66db914adfd8cbb846fcf82e290fe006a800a36d.tar.gz
CMake-66db914adfd8cbb846fcf82e290fe006a800a36d.tar.bz2
FindThreads: fix printing a pointer value in test code
This causes a warning in C mode, and entirely fails in C++ mode: CMake/Modules/CheckForPthreads.c: In function ‘runner’: CMake/Modules/CheckForPthreads.c:34:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf("%d CC: %d\n", (int)args, cc); ^ Use %p to print out a pointer value, which will not cause any problems.
Diffstat (limited to 'Tests/FindThreads')
0 files changed, 0 insertions, 0 deletions