[ASan] make variable unsigned to silence the warning

llvm-svn: 175284
This commit is contained in:
Alexey Samsonov 2013-02-15 19:02:32 +00:00
parent f29ddfe93f
commit f6d7379def
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ void MaybeReexec() {
const_cast<char*>(GetEnv(kDyldInsertLibraries));
sptr old_env_len = dyld_insert_libraries ?
internal_strlen(dyld_insert_libraries) : 0;
sptr fname_len = internal_strlen(info.dli_fname);
uptr fname_len = internal_strlen(info.dli_fname);
if (!dyld_insert_libraries ||
!REAL(strstr)(dyld_insert_libraries, info.dli_fname)) {
// DYLD_INSERT_LIBRARIES is not set or does not contain the runtime