diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
commit | 7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch) | |
tree | bdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/gnsrecord/gnsrecord_serialization.c | |
parent | 01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff) | |
download | gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip |
tighten formatting rules
Diffstat (limited to 'src/gnsrecord/gnsrecord_serialization.c')
-rw-r--r-- | src/gnsrecord/gnsrecord_serialization.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gnsrecord/gnsrecord_serialization.c b/src/gnsrecord/gnsrecord_serialization.c index a2711538c..42665e662 100644 --- a/src/gnsrecord/gnsrecord_serialization.c +++ b/src/gnsrecord/gnsrecord_serialization.c | |||
@@ -130,8 +130,7 @@ GNUNET_GNSRECORD_records_get_size (unsigned int rd_count, | |||
130 | * Efficiently round up to the next | 130 | * Efficiently round up to the next |
131 | * power of 2 for padding | 131 | * power of 2 for padding |
132 | * https://graphics.stanford.edu/~seander/bithacks.html#RoundUpPowerOf2 | 132 | * https://graphics.stanford.edu/~seander/bithacks.html#RoundUpPowerOf2 |
133 | */ | 133 | */ret--; |
134 | ret--; | ||
135 | ret |= ret >> 1; | 134 | ret |= ret >> 1; |
136 | ret |= ret >> 2; | 135 | ret |= ret >> 2; |
137 | ret |= ret >> 4; | 136 | ret |= ret >> 4; |