libDtHelp: Resolve 11 compiler warnings.

This commit is contained in:
Peter Howkins
2015-01-14 11:41:38 +00:00
parent 917e6cfc49
commit f8f04a5977
4 changed files with 10 additions and 6 deletions

View File

@@ -1074,7 +1074,7 @@ done:
}
/* WARNING: depends on pointers and integers the same size */
#ifdef __LP64__
return (NULL == ((int64_t)hit|(int64_t)posFile|(int64_t)locationIdList)) ? -1 : 0;
return (0 == ((int64_t)hit|(int64_t)posFile|(int64_t)locationIdList)) ? -1 : 0;
#else
return (0 == ((int)hit|(int)posFile|(int)locationIdList)) ? -1 : 0;
#endif