From a26bd812ef3fd21dd3d68bd10704ae3dd8eeea6b Mon Sep 17 00:00:00 2001
From: Gabriele Contini <contini.mailing@gmail.com>
Date: 周日, 10 11月 2019 22:25:22 +0800
Subject: [PATCH] improvements for issue #42

---
 test/functional/volid_test.cpp |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/test/functional/volid_test.cpp b/test/functional/volid_test.cpp
index d02b36d..dedb040 100644
--- a/test/functional/volid_test.cpp
+++ b/test/functional/volid_test.cpp
@@ -35,10 +35,9 @@
 
 	LicenseInfo license;
 	LicenseLocation licenseLocation;
-	licenseLocation.openFileNearModule = false;
 	licenseLocation.licenseFileLocation = licLocation.c_str();
-	licenseLocation.environmentVariableName = "";
-	const EVENT_TYPE result = acquire_license("TEST", licenseLocation, &license);
+	licenseLocation.licenseData = "";
+	const EVENT_TYPE result = acquire_license("TEST", &licenseLocation, &license);
 	BOOST_CHECK_EQUAL(result, LICENSE_OK);
 	BOOST_CHECK_EQUAL(license.has_expiry, false);
 	BOOST_CHECK_EQUAL(license.linked_to_pc, true);
@@ -80,7 +79,7 @@
 		strategies.push_back(ETHERNET);
 	}
 
-	int num_strategies = strategies.size();
+	size_t num_strategies = strategies.size();
 	if(num_strategies == 0) {
 		//see issue #49 can't use default
 		return;

--
Gitblit v1.9.1