summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/forks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/forks.c b/benchmarks/forks.c
index 30f01f72..4f500d9a 100644
--- a/benchmarks/forks.c
+++ b/benchmarks/forks.c
@@ -40,7 +40,7 @@ main(argc, argv)
time (&starttime);
cp = (char *)sbrk(brksize);
- if ((int)cp == -1) {
+ if (cp == (void *)-1) {
perror("sbrk");
exit(4);
}