From 284ab534f02a171021fe5c7fc464f8d955e30921 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 5 May 2016 15:48:53 -0500 Subject: [PATCH] test --- iguana/iguana_interpreter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_interpreter.c b/iguana/iguana_interpreter.c index 4380bd034..55a98e3c1 100755 --- a/iguana/iguana_interpreter.c +++ b/iguana/iguana_interpreter.c @@ -912,7 +912,7 @@ int32_t bitcoin_assembler(struct iguana_info *coin,uint8_t script[IGUANA_MAXSCRI { script[k++] = op->opcode; if ( stacks->logarray ) - jaddistr(stacks->logarray,op->hh.key); + jaddistr(stacks->logarray,(char *)op->hh.key); if ( (op->flags & IGUANA_ALWAYSILLEGAL) != 0 ) { printf("disabled opcode.%s at offset.%ld\n",str,(long)str-(long)asmstr); @@ -1004,7 +1004,7 @@ int32_t bitcoin_assembler(struct iguana_info *coin,uint8_t script[IGUANA_MAXSCRI } else if ( (op->flags & IGUANA_EXECUTIONILLEGAL) != 0 ) { - printf("opcode not allowed to run.%s at %ld\n",op->hh.key,(long)str-(long)asmstr); + printf("opcode not allowed to run.%s at %ld\n",(char *)op->hh.key,(long)str-(long)asmstr); errs++; break; }