OSSP CVS Repository

ossp - Difference in ossp-pkg/pth/pth_string.c versions 1.9 and 1.10
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/pth/pth_string.c 1.9 -> 1.10

--- pth_string.c 2003/03/22 20:28:42     1.9
+++ pth_string.c 2003/10/17 17:39:29     1.10
@@ -485,12 +485,12 @@
 }
 
 static LDOUBLE
-pow10(int exp)
+pow10(int exponent)
 {
     LDOUBLE result = 1;
-    while (exp) {
+    while (exponent > 0) {
         result *= 10;
-        exp--;
+        exponent--;
     }
     return result;
 }

CVSTrac 2.0.1