summaryrefslogtreecommitdiff
path: root/src/lib/bitmap.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-02-23 15:09:58 +0100
committerSander Vrijders <[email protected]>2016-02-23 15:09:58 +0100
commit839c76c814a01e3852f5da1c4e294e8668e13c4f (patch)
treec547bd37fb0c512d286032fed151355b2ce6f3f8 /src/lib/bitmap.c
parent59ee34ef5650c415a6a747afb816964378d17b36 (diff)
downloadouroboros-839c76c814a01e3852f5da1c4e294e8668e13c4f.tar.gz
ouroboros-839c76c814a01e3852f5da1c4e294e8668e13c4f.zip
build: Require usage of C89
This requires the usage of the C89 standard for all source files. It also fixes a wrong check for the compiler flags (was checking this for CXX compiler instead of the C compiler).
Diffstat (limited to 'src/lib/bitmap.c')
-rw-r--r--src/lib/bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/bitmap.c b/src/lib/bitmap.c
index cb414e7f..3aaa422c 100644
--- a/src/lib/bitmap.c
+++ b/src/lib/bitmap.c
@@ -187,7 +187,7 @@ int rbmp_release(struct rbmp * b,
rid = id - b->offset;
- bitmap_clear(b->bitmap, id);
+ bitmap_clear(b->bitmap, rid);
return 0;
}