From ae250db884dba00df5cca72599b44333cb11e8ac Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 13 May 2012 19:21:44 +0000 Subject: Lint. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@4388 a436a847-0d15-0410-975c-d299462d15a1 --- test/queue_test.cpp | 6 +++--- test/sem_test.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/queue_test.cpp b/test/queue_test.cpp index 0d1a95b..42e314e 100644 --- a/test/queue_test.cpp +++ b/test/queue_test.cpp @@ -95,10 +95,10 @@ dump_data() int main() { - unsigned long total_processed = 0; + size_t total_processed = 0; cout << "Testing size" << endl; - for (unsigned i=0; i < queue.capacity(); ++i) { + for (size_t i=0; i < queue.capacity(); ++i) { queue.push(i); if (i == queue.capacity()-1) { if (!queue.full()) { @@ -115,7 +115,7 @@ main() } } - for (unsigned i = 0; i < queue.capacity(); ++i) + for (size_t i = 0; i < queue.capacity(); ++i) queue.pop(); if (!queue.empty()) { diff --git a/test/sem_test.cpp b/test/sem_test.cpp index b3e8b5b..dda6ca2 100644 --- a/test/sem_test.cpp +++ b/test/sem_test.cpp @@ -39,7 +39,7 @@ main() waiter.start(); sleep(1); - + cout << "[Main] Signalling..." << endl; sem.post(); -- cgit v1.2.1