Browse Source

BUG: Use return statement instead of exit.

Brad King 22 years ago
parent
commit
af81df2542
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/TestBigEndian.c

+ 1 - 1
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;
 }