From 073594aabf6f900f205224a0b6b7c7d48f968bf2 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 19 Oct 2016 18:03:03 -0300 Subject: [PATCH] test --- src/komodo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo.h b/src/komodo.h index db2e4f62b..86dcd3f36 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -193,7 +193,7 @@ int32_t komodo_threshold(uint64_t signedmask) int32_t komodo_stateupdate(uint8_t notarypubs[][33],uint8_t numnotaries) { static FILE *fp; static int32_t errs; char fname[512]; uint8_t func,num,pubkeys[64][33]; - sprintf(fname,"%s/%s",GetDataDir(false).string(),(char *)"komodostate"); + sprintf(fname,"%s/%s",GetDataDir(false).string().c_str(),(char *)"komodostate"); if ( fp == 0 ) { if ( (fp= fopen(fname,"rb+")) != 0 )