diff options
author | David Robillard <d@drobilla.net> | 2012-05-13 19:21:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-13 19:21:44 +0000 |
commit | ae250db884dba00df5cca72599b44333cb11e8ac (patch) | |
tree | 36080ce6891c832a9d2cad72ef7391e2f32ea7c5 /test/queue_test.cpp | |
parent | ea09cab085bcdf91f8e47195a9997a36a305c471 (diff) | |
download | raul-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/queue_test.cpp')
-rw-r--r-- | test/queue_test.cpp | 6 |
1 files changed, 3 insertions, 3 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()) { |