summaryrefslogtreecommitdiffstats
path: root/README.mkd
diff options
context:
space:
mode:
Diffstat (limited to 'README.mkd')
-rw-r--r--README.mkd2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.mkd b/README.mkd
index 99ede1ad..439b3dd0 100644
--- a/README.mkd
+++ b/README.mkd
@@ -50,7 +50,7 @@ useful.
### 8 Byte Encoding
uint64_t data = 0;
- fail_unless(8byte_set_bitfield(&data, 1, 0, 1));
+ fail_unless(8byte_set_bitfield(1, 0, 1, &data));
uint64_t result = eightbyte_get_bitfield(data, 0, 1, false);
ck_assert_int_eq(result, 0x1);