BPackageInfo: Fix Linux build
... including an actual bug (operator "|" instead of "||").
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
#include <File.h>
|
#include <File.h>
|
||||||
#include <Entry.h>
|
#include <Entry.h>
|
||||||
|
#include <Message.h>
|
||||||
#include <package/hpkg/NoErrorOutput.h>
|
#include <package/hpkg/NoErrorOutput.h>
|
||||||
#include <package/hpkg/PackageReader.h>
|
#include <package/hpkg/PackageReader.h>
|
||||||
#include <package/PackageInfoContentHandler.h>
|
#include <package/PackageInfoContentHandler.h>
|
||||||
@@ -2146,7 +2147,7 @@ BPackageInfo::_ExtractResolvableExpressions(BMessage* archive,
|
|||||||
if (error != B_OK)
|
if (error != B_OK)
|
||||||
return error;
|
return error;
|
||||||
if (operatorType < 0
|
if (operatorType < 0
|
||||||
| operatorType > B_PACKAGE_RESOLVABLE_OP_ENUM_COUNT) {
|
|| operatorType > B_PACKAGE_RESOLVABLE_OP_ENUM_COUNT) {
|
||||||
return B_BAD_DATA;
|
return B_BAD_DATA;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user