medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit b29172a2997ae245ee64b06b2747818509289442
parent 324e65047d4599e4831dcdbb109b07412cb52ee0
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun Dec 25 21:08:43 +0200

Fix shadow warning

Diffstat:
stream.h | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/stream.h b/stream.h @@ -14,9 +14,9 @@ struct ReadStreamCheckpoint { }; struct ReadStream { - ReadStream( char * buf, size_t len ) { + ReadStream( char * buf, size_t n ) { cursor = buf; - one_past_end = buf + len; + one_past_end = buf + n; ok = true; } @@ -51,10 +51,10 @@ struct ReadStream { }; struct WriteStream { - WriteStream( char * buf, size_t len ) { + WriteStream( char * buf, size_t n ) { start = buf; cursor = buf; - one_past_end = buf + len; + one_past_end = buf + n; ok = true; }