git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Get rid of some useless-cast
[novacoin.git]
/
src
/
script.h
diff --git
a/src/script.h
b/src/script.h
index
ff289a5
..
745f848
100644
(file)
--- a/
src/script.h
+++ b/
src/script.h
@@
-486,7
+486,7
@@
public:
if (opcode == OP_0)
return 0;
assert(opcode >= OP_1 && opcode <= OP_16);
- return (int)opcode - (int)(OP_1 - 1);
+ return (opcode - (OP_1 - 1));
}
static opcodetype EncodeOP_N(int n)
{