Cleanups.

This commit is contained in:
Markus F.X.J. Oberhumer
2016-11-20 13:16:19 +01:00
parent 33a51e69bf
commit 8d61e037f9
4 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -1666,7 +1666,7 @@ int PackMachBase<T>::canUnpack()
}
if (!strcmp("__LINKEDIT", segptr->segname)) {
offLINK = segptr->fileoff;
if (offLINK < pos_next) {
if (offLINK < (off_t) pos_next) {
offLINK = pos_next;
}
}