diff options
author | Gary E. Miller <gem@rellim.com> | 2015-03-25 15:36:51 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-03-25 15:36:51 -0700 |
commit | aef73497e29db14b23448b2ae312b20733a01aac (patch) | |
tree | 72d6df2c5a0094c63ff17dc037c9d3da354b2944 /bits.c | |
parent | ac3d44a1912795d06bcc2501741c9c3deaba8a0d (diff) | |
download | gpsd-aef73497e29db14b23448b2ae312b20733a01aac.tar.gz |
Yet more: Line expects to suppress X error, found 0 errors
Diffstat (limited to 'bits.c')
-rw-r--r-- | bits.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -25,16 +25,16 @@ uint64_t ubits(unsigned char buf[], unsigned int start, unsigned int width, bool unsigned int i; unsigned end; - /*@i1@*/ assert(width <= sizeof(uint64_t) * CHAR_BIT); + assert(width <= sizeof(uint64_t) * CHAR_BIT); for (i = start / CHAR_BIT; i < (start + width + CHAR_BIT - 1) / CHAR_BIT; i++) { - /*@i1@*/fld <<= CHAR_BIT; + fld <<= CHAR_BIT; fld |= (unsigned char)buf[i]; } end = (start + width) % CHAR_BIT; if (end != 0) { - /*@i1@*/fld >>= (CHAR_BIT - end); + fld >>= (CHAR_BIT - end); } /*@ -shiftimplementation @*/ |