[llvm-commits] [test-suite] r153520 - /test-suite/trunk/MultiSource/Benchmarks/FreeBench/distray/distray.c

Chad Rosier mcrosier at apple.com
Tue Mar 27 10:42:03 PDT 2012


Author: mcrosier
Date: Tue Mar 27 12:42:03 2012
New Revision: 153520

URL: http://llvm.org/viewvc/llvm-project?rev=153520&view=rev
Log:
Fix some undefined behavior found by r153423.

Modified:
    test-suite/trunk/MultiSource/Benchmarks/FreeBench/distray/distray.c

Modified: test-suite/trunk/MultiSource/Benchmarks/FreeBench/distray/distray.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/FreeBench/distray/distray.c?rev=153520&r1=153519&r2=153520&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/FreeBench/distray/distray.c (original)
+++ test-suite/trunk/MultiSource/Benchmarks/FreeBench/distray/distray.c Tue Mar 27 12:42:03 2012
@@ -149,7 +149,7 @@
  *
  **************************************************************************/
 
-long rnd = 0x52462467L;
+unsigned long rnd = 0x52462467L;
 
 static double Jitter( void )
 {





More information about the llvm-commits mailing list