Revision: 1360
Author: [email protected]
Date: Wed Sep 15 04:57:10 2010
Log: Fix for sign issues on 64 bit systems.

http://code.google.com/p/perl-devel-nytprof/source/detail?r=1360

Modified:
 /trunk/FileHandle.xs

=======================================
--- /trunk/FileHandle.xs        Wed Sep 15 02:42:26 2010
+++ /trunk/FileHandle.xs        Wed Sep 15 04:57:10 2010
@@ -1024,7 +1024,7 @@
             (unsigned long)overflow);

     if (elapsed < 0) {  /* XXX temp - needs support for signed ints */
-        fprintf(stderr, "Negative time %ld recorded as 0\n", elapsed);
+ fprintf(stderr, "Negative ticks %ld recorded as 0\n", (long)elapsed);
         elapsed = 0;
     }

--
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]

Reply via email to