summaryrefslogtreecommitdiffstats
path: root/test/src/test-stress.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/test-stress.cpp')
-rw-r--r--test/src/test-stress.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/test-stress.cpp b/test/src/test-stress.cpp
index 220399a..0099f9b 100644
--- a/test/src/test-stress.cpp
+++ b/test/src/test-stress.cpp
@@ -30,7 +30,7 @@ int lastTransitionAt;
#ifdef HAS_EXECINFO_H
void printBacktrace(void** array, int size) {
char** messages = backtrace_symbols(array, size);
- for (int i = 0; i < size && messages != NULL; ++i) {
+ for (size_t i = 0; i < size && messages != NULL; ++i) {
std::cerr << "\t" << messages[i] << std::endl;
}
std::cerr << std::endl;