Author: tim.bunce
Date: Wed Oct 29 15:36:59 2008
New Revision: 574

Modified:
    trunk/NYTProf.xs

Log:
Add missing arg to 'invalid clock_id' croak message.
Fix printf arg type warning.


Modified: trunk/NYTProf.xs
==============================================================================
--- trunk/NYTProf.xs    (original)
+++ trunk/NYTProf.xs    Wed Oct 29 15:36:59 2008
@@ -1189,7 +1189,7 @@
              I32 lines = av_len(src_av);
              int line;
              if (trace_level >= 4)
-                warn("fid %d has %d src lines", found->id, lines+1);
+                warn("fid %d has %ld src lines", found->id, (long)lines+1);
              for (line = 1; line <= lines; ++line) { /* lines start at 1 */
                  SV **svp = av_fetch(src_av, line, 0);
                  STRLEN len = 0;
@@ -2297,7 +2297,7 @@
      }
  #else
      if (profile_clock != -1) {  /* user tried to select different clock */
-        warn("clock %d not available (clock_gettime not supported on this  
system)\n");
+        warn("clock %d not available (clock_gettime not supported on this  
system)\n", profile_clock);
          profile_clock = -1;
      }
  #endif

--~--~---------~--~----~------------~-------~--~----~
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