From 7c6c9538b03c9eae24e38fbeb30dd76a16aff1d2 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 20 Jan 2011 05:30:43 +0000 Subject: Wow, got the Stream changes propegated, all tests build with string instead of fstring, and updated the copyright notice to extend to 2011 --- src/newline.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/newline.cpp') diff --git a/src/newline.cpp b/src/newline.cpp index 8c5d3d5..ffc9eb0 100644 --- a/src/newline.cpp +++ b/src/newline.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2010 Xagasoft, All rights reserved. + * Copyright (C) 2007-2011 Xagasoft, All rights reserved. * * This file is part of the libbu++ library and is released under the * terms of the license contained in the file LICENSE. @@ -21,19 +21,19 @@ void Bu::NewLine::start() { } -size_t Bu::NewLine::stop() +Bu::size Bu::NewLine::stop() { return 0; } -size_t Bu::NewLine::read( void *pBufV, size_t iAmnt ) +Bu::size Bu::NewLine::read( void *pBufV, Bu::size iAmnt ) { - size_t iTotal = 0; - size_t iOffset = 0; - size_t iRead = rNext.read( pBufV, iAmnt ); + Bu::size iTotal = 0; + Bu::size iOffset = 0; + Bu::size iRead = rNext.read( pBufV, iAmnt ); char *pBuf = (char *)pBufV; - for( size_t i = 0; i < iRead; i++ ) + for( Bu::size i = 0; i < iRead; i++ ) { if( pBuf[i] == '\r' ) { @@ -61,7 +61,7 @@ size_t Bu::NewLine::read( void *pBufV, size_t iAmnt ) return iTotal; } -size_t Bu::NewLine::write( const void *, size_t ) +Bu::size Bu::NewLine::write( const void *, Bu::size ) { return 0; } -- cgit v1.2.3