From c08fce967f4f483c2bb66eb6efdd82843c463c6b Mon Sep 17 00:00:00 2001 From: David Kelly Date: Tue, 15 Aug 2017 08:58:16 -0700 Subject: [PATCH] forgot a warning --- interface/src/commerce/Wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/commerce/Wallet.cpp b/interface/src/commerce/Wallet.cpp index 04005c37e1..4b89386c3e 100644 --- a/interface/src/commerce/Wallet.cpp +++ b/interface/src/commerce/Wallet.cpp @@ -46,7 +46,7 @@ int passwordCallback(char* password, int maxPasswordSize, int rwFlag, void* u) { // just return a hardcoded pwd for now static const char* pwd = "pwd"; strcpy(password, pwd); - return strlen(pwd); + return static_cast(strlen(pwd)); } // BEGIN copied code - this will be removed/changed at some point soon