Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* stdlib/divmod_1.c: Use correct type for dummy variable.
	* stdlib/mod_1.c: Likewise.
  • Loading branch information
Ulrich Drepper committed Oct 17, 2008
1 parent 5df2a42 commit 292eb81
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions 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.
Expand Down
2 changes: 1 addition & 1 deletion elf/dl-tls.c
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion stdlib/divmod_1.c
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion stdlib/mod_1.c
Expand Up @@ -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)
Expand Down

0 comments on commit 292eb81

Please sign in to comment.