aboutsummaryrefslogtreecommitdiffstats
path: root/README.mkd
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-06 13:58:36 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-06 13:58:36 -0500
commiteab0c42eac865a7e965878a7f2ad548371bd34d5 (patch)
tree1dc8c6e55cb51830bd0ca5de09d277d5ad206c84 /README.mkd
parentcc2f44eeedac7d6e86005543c7e1596c3c78d551 (diff)
Standardize order of arguments - destination is always last.
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 99ede1a..439b3dd 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);