summary refs log tree commit diff
path: root/elf/dl-open.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-open.c')
-rw-r--r--elf/dl-open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 021c4bea74..9dda31e761 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -97,7 +97,7 @@ _dl_open (const char *file, int mode)
       else
 	{
 	  if (_dl_global_scope_alloc <
-	      _dl_global_scope_end - _dl_global_scope + 2)
+	      (size_t) (_dl_global_scope_end - _dl_global_scope + 2))
 	    {
 	      /* Must extend the list.  */
 	      struct link_map **new = realloc (_dl_global_scope,