summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCCompilerId.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CMakeCCompilerId.c')
-rw-r--r--Modules/CMakeCCompilerId.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeCCompilerId.c b/Modules/CMakeCCompilerId.c
index 0d8a215..045b6ae 100644
--- a/Modules/CMakeCCompilerId.c
+++ b/Modules/CMakeCCompilerId.c
@@ -47,5 +47,5 @@ static char const info_compiler[] = "INFO:compiler["
/* Make sure the information strings are referenced. */
int main()
{
- return ((int)&info_compiler) + ((int)&info_platform);
+ return (&info_compiler[0] != &info_platform[0]);
}