[llvm-commits] CVS: llvm/test/Programs/SingleSource/UnitTests/2003-05-31-CastToBool.c

LLVM llvm at cs.uiuc.edu
Wed Jul 7 07:49:01 PDT 2004


Changes in directory llvm/test/Programs/SingleSource/UnitTests:

2003-05-31-CastToBool.c updated: 1.3 -> 1.4

---
Log message:

Correct a format specifier that causes the program to produce incorrect
output.  Change suggested by Vladimir Prus.


---
Diffs of the changes:  (+1 -1)

Index: llvm/test/Programs/SingleSource/UnitTests/2003-05-31-CastToBool.c
diff -u llvm/test/Programs/SingleSource/UnitTests/2003-05-31-CastToBool.c:1.3 llvm/test/Programs/SingleSource/UnitTests/2003-05-31-CastToBool.c:1.4
--- llvm/test/Programs/SingleSource/UnitTests/2003-05-31-CastToBool.c:1.3	Thu Jul 10 14:23:08 2003
+++ llvm/test/Programs/SingleSource/UnitTests/2003-05-31-CastToBool.c	Wed Jul  7 07:48:21 2004
@@ -29,7 +29,7 @@
 }
 
 void testLong(long long X) {
-  printf("%ld ", X);
+  printf("%lld ", X);
   testBool(X != 0);
 }
 





More information about the llvm-commits mailing list