[libxslt] Fix time type in xsltSaveProfiling



commit a9eee8707b68e07fd916986712c41b96bf669cb0
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Tue Feb 25 15:25:35 2014 +0100

    Fix time type in xsltSaveProfiling

 libxslt/xsltutils.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libxslt/xsltutils.c b/libxslt/xsltutils.c
index ab981a4..75232fc 100644
--- a/libxslt/xsltutils.c
+++ b/libxslt/xsltutils.c
@@ -1963,7 +1963,7 @@ xsltSaveProfiling(xsltTransformContextPtr ctxt, FILE *output) {
     int nb, i,j,k,l;
     int max;
     int total;
-    long totalt;
+    unsigned long totalt;
     xsltTemplatePtr *templates;
     xsltStylesheetPtr style;
     xsltTemplatePtr templ1,templ2;
@@ -2076,7 +2076,7 @@ xsltSaveProfiling(xsltTransformContextPtr ctxt, FILE *output) {
 
     for (i = 0; i < nb; i++) {
         char ix_str[20], timep_str[20], times_str[20], timec_str[20], called_str[20];
-        int t;
+        unsigned long t;
 
         templ1 = templates[i];
         /* callers */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]