Venkatesh Srinivas 25133bd74b Use 'unsigned char' rather than 'char' for pchMessageStart.
Regarding https://bitcointalk.org/index.php?topic=28022.0

main.cpp has: "char pchMessageStart[4] = { 0xf9, 0xbe, 0xb4, 0xd9 };"
Per discussion on the thread linked, leaving the signedness of
pchMessageStart is unsafe for values > 0x80. This patch specifies
'unsigned char' in main.cpp and net.h.

Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2011-08-10 22:42:43 -04:00
..
2011-06-27 14:12:48 -04:00
2011-06-27 14:12:48 -04:00
2011-06-06 12:49:11 -05:00
2011-07-13 02:11:25 +02:00
2011-07-13 02:11:25 +02:00
2011-06-15 11:05:55 +02:00
2011-06-15 11:05:55 +02:00
2011-05-15 12:04:20 +02:00
2011-07-17 12:07:59 +02:00
2011-07-13 13:12:49 +02:00
2011-07-13 02:11:25 +02:00
2011-07-13 02:11:25 +02:00
2011-07-13 02:11:25 +02:00
2011-07-15 23:38:46 -04:00
2011-06-15 11:05:55 +02:00
2011-08-03 13:01:09 +02:00
2011-07-13 01:19:26 -04:00
2011-07-13 02:11:25 +02:00