forgot a warning

This commit is contained in:
David Kelly 2017-08-15 08:58:16 -07:00
parent ef5863d169
commit c08fce967f

View file

@ -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<int>(strlen(pwd));
}
// BEGIN copied code - this will be removed/changed at some point soon