summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-13 19:21:44 +0000
committerDavid Robillard <d@drobilla.net>2012-05-13 19:21:44 +0000
commitae250db884dba00df5cca72599b44333cb11e8ac (patch)
tree36080ce6891c832a9d2cad72ef7391e2f32ea7c5 /test
parentea09cab085bcdf91f8e47195a9997a36a305c471 (diff)
downloadraul-ae250db884dba00df5cca72599b44333cb11e8ac.tar.gz
raul-ae250db884dba00df5cca72599b44333cb11e8ac.tar.bz2
raul-ae250db884dba00df5cca72599b44333cb11e8ac.zip
Lint.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@4388 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test')
-rw-r--r--test/queue_test.cpp6
-rw-r--r--test/sem_test.cpp2
2 files changed, 4 insertions, 4 deletions
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();