]> sourceware.org Git - glibc.git/commitdiff
* 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 3a6231356db4a4e023dc3b818564002421694161..993290d2353026d460edbada68d5fcd0fc1c6080 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 edbc953e4a81b8cd5bfa6a27887b12258b899bf7..e234a0a82ab3e970fb2a13a4d21e1de4cb13aec0 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 51a47d85d36c705188791de5dd7f1b39738c1359..0a8a77e12e0f043f21563f7f8e7399e0ba209e3a 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 3273c9222da2d3aa79f21993c5b5f986607da986..f4cfa6933f8554f6df3f228ba7cfb323c01b08f1 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)
This page took 0.084756 seconds and 5 git commands to generate.