alphadvantage api

This commit is contained in:
jl777
2019-03-29 01:25:55 -11:00
parent 5666a5ea84
commit aee4b6ec2b
2 changed files with 98 additions and 5 deletions

View File

@@ -1816,7 +1816,7 @@ void komodo_args(char *argv0)
if ( hexstr.size() != 0 )
{
Mineropret.resize(hexstr.size()/2);
decode_hex(&Mineropret[0],hexstr.size()/2,(char *)hexstr.c_str());
decode_hex(Mineropret.data(),hexstr.size()/2,(char *)hexstr.c_str());
for (i=0; i<Mineropret.size(); i++)
fprintf(stderr,"%02x",Mineropret[i]);
fprintf(stderr," Mineropret\n");