From a77ad30938d369e45cb172ec6a5d718d78e61ec6 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 4 Jul 2011 18:49:13 +0200 Subject: [PATCH] Fix loading the resolvable compatible version --- src/add-ons/kernel/file_systems/packagefs/Volume.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/add-ons/kernel/file_systems/packagefs/Volume.cpp b/src/add-ons/kernel/file_systems/packagefs/Volume.cpp index 53c4e4f33e..ba772f23cb 100644 --- a/src/add-ons/kernel/file_systems/packagefs/Volume.cpp +++ b/src/add-ons/kernel/file_systems/packagefs/Volume.cpp @@ -326,7 +326,8 @@ struct Volume::PackageLoaderContentHandler : BPackageContentHandler { = value.resolvable.compatibleVersion; status_t error = Version::Create(versionInfo.major, versionInfo.minor, versionInfo.micro, - versionInfo.preRelease, versionInfo.release, version); + versionInfo.preRelease, versionInfo.release, + compatibleVersion); if (error != B_OK) RETURN_ERROR(error); }