* tests/staticrootstest.c: Include string.h for memset() prototype.
* tests/thread_leak_test.c (main): Fix printf() format specifiers.
+2010-11-04 Ivan Maidanski <ivmai@mail.ru>
+
+ * tests/staticrootstest.c: Include string.h for memset() prototype.
+ * tests/thread_leak_test.c (main): Fix printf() format specifiers.
+
2010-10-22 Ivan Maidanski <ivmai@mail.ru>
* CMakeLists.txt: Check enable_parallel_mark on Darwin.
#include <stdio.h>
+#include <string.h>
#ifndef GC_DEBUG
# define GC_DEBUG
}
for (i = 0; i < NTHREADS; ++i) {
if ((code = pthread_join(t[i], 0)) != 0) {
- printf("Thread join failed %lu\n", code);
+ printf("Thread join failed %d\n", code);
}
}
CHECK_LEAKS();