From 7b1a675c2a82d7d66569da9b16d22d1e0c10cb49 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 19 Apr 2016 16:24:58 -0500 Subject: [PATCH] test --- iguana/iguana_tx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_tx.c b/iguana/iguana_tx.c index bbda108d7..c86491365 100755 --- a/iguana/iguana_tx.c +++ b/iguana/iguana_tx.c @@ -38,8 +38,8 @@ int32_t iguana_scriptdata(struct iguana_info *coin,uint8_t *scriptspace,long fil if ( (err= fread(scriptspace,1,scriptlen,fp)) != scriptlen ) { retval = -1; - printf("%s script[%d] offset.%d err.%ld\n",fname,scriptlen,scriptpos,err); - } + printf("%s script[%d] offset.%llu err.%ld\n",fname,scriptlen,(long long)scriptpos,err); + } else printf("%s script[%d] offset.%llu read.%ld\n",fname,scriptlen,(long long)scriptpos,err); fclose(fp); } else retval = -1; return(retval);