squash! Pass const uint64_t pointers, document array length.
commite46de82c97e694d3bfa399af48b9de9365e264bd
authorKarsten Loesing <karsten.loesing@gmx.net>
Mon, 28 Oct 2013 09:48:18 +0000 (28 10:48 +0100)
committerKarsten Loesing <karsten.loesing@gmx.net>
Mon, 28 Oct 2013 09:48:18 +0000 (28 10:48 +0100)
tree5c2b79c90ac119f7e09fe5edd6a34ce8bac41971
parentb43a37bc5b6813224b9ac727e98a96d6ce2c5f2b
squash! Pass const uint64_t pointers, document array length.

Don't cast uint64_t * to const uint64_t * explicitly.  The cast is always
safe, so C does it for us.  Doing the cast explitictly can hide bugs if
the input is secretly the wrong type.

Suggested by Nick.
src/or/control.c
src/test/test_controller_events.c