Fixed size types instead of unsigned char for numbers.
authorMASM fan <masmfan@gmail.com>
Sun, 28 Dec 2014 22:32:04 +0000 (14:32 -0800)
committerMASM fan <masmfan@gmail.com>
Sun, 28 Dec 2014 22:32:04 +0000 (14:32 -0800)
commit833d3bd6c578439105f9d69ef4a75dddf9b17280
treecb9cee7d7b9d70ed15e73436f72741fb49835cdd
parentac7dfdeaab1c174fe47444a8d8ff01b298857f71
Fixed size types instead of unsigned char for numbers.

* uint8_t instead of unsigned char should be better in terms of compatibility;
* Fix Clang compilation issues by using uint16_t for stack size. The uint16_t type gives us a range of possible values which is more than sufficient for allowed script length.
src/bignum.h
src/script.cpp