Fix bio_test.c build on Windows.

MSVC does not allow pointer arithmetic on void* pointers. Also
fix some style issues around whether * hugs the type or the
variable name.

Change-Id: I40cc1627830b37879fd70e2b688a42df62b6c62a
Reviewed-on: https://boringssl-review.googlesource.com/2452
Reviewed-by: Adam Langley <agl@google.com>
diff --git a/crypto/bio/bio_test.c b/crypto/bio/bio_test.c
index 39a79be..db6fc02 100644
--- a/crypto/bio/bio_test.c
+++ b/crypto/bio/bio_test.c
@@ -123,8 +123,8 @@
 
 /* bio_read_zero_copy_wrapper is a wrapper around the zero-copy APIs to make
  * testing easier. */
-static size_t bio_read_zero_copy_wrapper(BIO* bio, void* data, size_t len) {
-  uint8_t* read_buf;
+static size_t bio_read_zero_copy_wrapper(BIO *bio, uint8_t *data, size_t len) {
+  uint8_t *read_buf;
   size_t read_buf_offset;
   size_t available_bytes;
   size_t len_read = 0;
@@ -148,9 +148,9 @@
 
 /* bio_write_zero_copy_wrapper is a wrapper around the zero-copy APIs to make
  * testing easier. */
-static size_t bio_write_zero_copy_wrapper(BIO* bio, const void* data,
+static size_t bio_write_zero_copy_wrapper(BIO *bio, const uint8_t *data,
                                           size_t len) {
-  uint8_t* write_buf;
+  uint8_t *write_buf;
   size_t write_buf_offset;
   size_t available_bytes;
   size_t len_written = 0;