(_dl_allocate_tls_init): Add cast to avoid warning.
authordrepper <drepper>
Sat, 12 Apr 2003 19:47:26 +0000 (19:47 +0000)
committerdrepper <drepper>
Sat, 12 Apr 2003 19:47:26 +0000 (19:47 +0000)
sysdeps/generic/dl-tls.c

index 19cf0aa..746d9a2 100644 (file)
@@ -370,7 +370,7 @@ _dl_allocate_tls_init (void *result)
          assert (map->l_tls_modid == cnt);
          assert (map->l_tls_blocksize >= map->l_tls_initimage_size);
 # if TLS_TCB_AT_TP
-         assert (map->l_tls_offset >= map->l_tls_blocksize);
+         assert ((size_t) map->l_tls_offset >= map->l_tls_blocksize);
          dest = (char *) result - map->l_tls_offset;
 # elif TLS_DTV_AT_TP
          dest = (char *) result + map->l_tls_offset;