From 292eb8177ece7670194f16e0e776eb3a1cd252ae Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 17 Oct 2008 08:38:08 +0000 Subject: * stdlib/divmod_1.c: Use correct type for dummy variable. * stdlib/mod_1.c: Likewise. --- elf/dl-tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf') diff --git a/elf/dl-tls.c b/elf/dl-tls.c index edbc953e4a..e234a0a82a 100644 --- a/elf/dl-tls.c +++ b/elf/dl-tls.c @@ -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 { -- cgit v1.2.3