OSSP CVS Repository

ossp - Difference in ossp-pkg/var/var_test.c versions 1.52 and 1.53
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/var/var_test.c 1.52 -> 1.53

--- var_test.c   2005/01/20 20:29:06     1.52
+++ var_test.c   2005/10/02 16:58:31     1.53
@@ -102,9 +102,9 @@
                        && strncmp(varname, vars[i + counter].name, name_len) == 0)
                     counter++;
                 if (counter == 1)
-                    sprintf(buf, "%d", length);
+                    sprintf(buf, "%d", (int)length);
                 else
-                    sprintf(buf, "%d", counter);
+                    sprintf(buf, "%d", (int)counter);
                 *data = buf;
                 *data_len = strlen(buf);
                 *buffer_size = 0;

CVSTrac 2.0.1