apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r583243 - /apr/apr/trunk/test/abts.c
Date Tue, 09 Oct 2007 17:57:16 GMT
Author: wrowe
Date: Tue Oct  9 10:57:16 2007
New Revision: 583243

URL: http://svn.apache.org/viewvc?rev=583243&view=rev
Log:
Add a comment, and represent in base 10

Modified:
    apr/apr/trunk/test/abts.c

Modified: apr/apr/trunk/test/abts.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/abts.c?rev=583243&r1=583242&r2=583243&view=diff
==============================================================================
--- apr/apr/trunk/test/abts.c (original)
+++ apr/apr/trunk/test/abts.c Tue Oct  9 10:57:16 2007
@@ -261,7 +261,9 @@
 
     tc->failed = TRUE;
     if (verbose) {
-        fprintf(stderr, "Line %d: expected <%lx>, but saw <%lx>\n", lineno, (unsigned
long)expected, (unsigned long)actual);
+        /* Note that the comparison is type-exact, reporting must be a best-fit */
+        fprintf(stderr, "Line %d: expected %lu, but saw %lu\n", lineno, 
+                (unsigned long)expected, (unsigned long)actual);
         fflush(stderr);
     }
 }



Mime
View raw message