From f6437cfaed1dd0acd1ec63e1c282d0e7edfa4522 Mon Sep 17 00:00:00 2001
From: davidwed <davidwe@posteo.de>
Date: 周六, 07 9月 2019 21:54:13 +0800
Subject: [PATCH] Fix a compilier error with msys2-mingw64 ( ld.exe: cannot find -ldl ) (#35)

---
 src/tools/base_lib/linux/CryptoHelperLinux.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tools/base_lib/linux/CryptoHelperLinux.h b/src/tools/base_lib/linux/CryptoHelperLinux.h
index 2573ca3..534b1e3 100644
--- a/src/tools/base_lib/linux/CryptoHelperLinux.h
+++ b/src/tools/base_lib/linux/CryptoHelperLinux.h
@@ -27,7 +27,7 @@
 	virtual const string exportPrivateKey() const;
 	virtual const string exportPublicKey() const;
 
-	virtual string signString(const unsigned char* privateKey, size_t pklen,
+	virtual string signString(const void* privateKey, size_t pklen,
 			const string& license) const;
 	virtual ~CryptoHelperLinux();
 };

--
Gitblit v1.9.1