* stdlib/divmod_1.c: Use correct type for dummy variable.

* stdlib/mod_1.c: Likewise.
This commit is contained in:
Ulrich Drepper 2008-10-17 08:38:08 +00:00
parent 5df2a427be
commit 292eb8177e
4 changed files with 8 additions and 3 deletions

View File

@ -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.

View 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
{

View 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)

View 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)