summaryrefslogtreecommitdiff
path: root/src/queuebuf.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-05-26 14:35:22 +0000
committerMike Buland <eichlan@xagasoft.com>2010-05-26 14:35:22 +0000
commit1d02c374c8877d430f4ab35a790fc02f02974704 (patch)
tree8d03d2226cc9322262308eba5eb0754d58a71a98 /src/queuebuf.cpp
parentb1522d279d22725a731cb8db93ec2d077028374c (diff)
downloadlibbu++-1d02c374c8877d430f4ab35a790fc02f02974704.tar.gz
libbu++-1d02c374c8877d430f4ab35a790fc02f02974704.tar.bz2
libbu++-1d02c374c8877d430f4ab35a790fc02f02974704.tar.xz
libbu++-1d02c374c8877d430f4ab35a790fc02f02974704.zip
Fixed most of the compilation warnings, and a valgrind warning in the fstring's
remove function. memcpy can't do overlapping memory, changed it to use memmove.
Diffstat (limited to 'src/queuebuf.cpp')
-rw-r--r--src/queuebuf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/queuebuf.cpp b/src/queuebuf.cpp
index 1a902bc..e8eb2ed 100644
--- a/src/queuebuf.cpp
+++ b/src/queuebuf.cpp
@@ -175,7 +175,7 @@ void Bu::QueueBuf::seek( long iAmnt )
175 if( iAmnt <= 0 ) 175 if( iAmnt <= 0 )
176 return; 176 return;
177 177
178 if( iAmnt >= iTotalSize ) 178 if( (size_t)iAmnt >= iTotalSize )
179 { 179 {
180// sio << "seek: clear all data (" << iAmnt << ">=" << iTotalSize 180// sio << "seek: clear all data (" << iAmnt << ">=" << iTotalSize
181// << ")." << sio.nl; 181// << ")." << sio.nl;
@@ -249,7 +249,7 @@ void Bu::QueueBuf::setBlocking( bool )
249{ 249{
250} 250}
251 251
252void Bu::QueueBuf::setSize( long iSize ) 252void Bu::QueueBuf::setSize( long )
253{ 253{
254} 254}
255 255