* stdlib/divmod_1.c: Use correct type for dummy variable.
authorUlrich Drepper <drepper@redhat.com>
Fri, 17 Oct 2008 08:38:08 +0000 (08:38 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 17 Oct 2008 08:38:08 +0000 (08:38 +0000)
* stdlib/mod_1.c: Likewise.

ChangeLog
elf/dl-tls.c
stdlib/divmod_1.c
stdlib/mod_1.c

index 3a62313..993290d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-17  Ulrich Drepper  <drepper@redhat.com>
+
+       * stdlib/divmod_1.c: Use correct type for dummy variable.
+       * stdlib/mod_1.c: Likewise.
+
 2008-10-16  Ulrich Drepper  <drepper@redhat.com>
 
        * elf/dl-tls.c (_dl_update_slotinfo): Copy all of the initial DTV.
index edbc953..e234a0a 100644 (file)
@@ -634,7 +634,7 @@ _dl_update_slotinfo (unsigned long int req_modid)
                      newp = malloc ((2 + newsize) * sizeof (dtv_t));
                      if (newp == NULL)
                        oom ();
-                     memcpy (newp, &dtv[-1], (2 * oldsize) * sizeof (dtv_t));
+                     memcpy (newp, &dtv[-1], (2 + oldsize) * sizeof (dtv_t));
                    }
                  else
                    {
index 51a47d8..0a8a77e 100644 (file)
@@ -55,7 +55,7 @@ mpn_divmod_1 (quot_ptr, dividend_ptr, dividend_size, divisor_limb)
 {
   mp_size_t i;
   mp_limb_t n1, n0, r;
-  int dummy;
+  mp_limb_t dummy;
 
   /* ??? Should this be handled at all?  Rely on callers?  */
   if (dividend_size == 0)
index 3273c92..f4cfa69 100644 (file)
@@ -50,7 +50,7 @@ mpn_mod_1 (dividend_ptr, dividend_size, divisor_limb)
 {
   mp_size_t i;
   mp_limb_t n1, n0, r;
-  int dummy;
+  mp_limb_t dummy;
 
   /* Botch: Should this be handled at all?  Rely on callers?  */
   if (dividend_size == 0)