summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2004-01-21 20:08:55 (GMT)
committerBrad King <brad.king@kitware.com>2004-01-21 20:08:55 (GMT)
commitaf81df2542d86bd19f071e7e790bdcfdcf3c3f0e (patch)
treeeaddb468f1ced64a8d8e950ade0e2ec550522cb7 /Modules
parentba9687d5cb8998bfd8094ad2e1de42b9851819c9 (diff)
downloadCMake-af81df2542d86bd19f071e7e790bdcfdcf3c3f0e.zip
CMake-af81df2542d86bd19f071e7e790bdcfdcf3c3f0e.tar.gz
CMake-af81df2542d86bd19f071e7e790bdcfdcf3c3f0e.tar.bz2
BUG: Use return statement instead of exit.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/TestBigEndian.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/TestBigEndian.c b/Modules/TestBigEndian.c
index 377d1b1..c21cc7e 100644
--- a/Modules/TestBigEndian.c
+++ b/Modules/TestBigEndian.c
@@ -6,5 +6,5 @@ int main () {
char c[sizeof (long)];
} u;
u.l = 1;
- exit (u.c[sizeof (long) - 1] == 1);
+ return (u.c[sizeof (long) - 1] == 1)?1:0;
}