commit | a77fc521caeba27b3f7693d13d6b2fd4d02c2a1a | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Thu Jul 02 10:48:05 2015 +0300 |
committer | Martin Storsjo <martin@martin.st> | Sat Jul 18 17:30:44 2015 +0300 |
tree | 0ce11541bac82570084e0b29470c021d62a126d1 | |
parent | ac694327a09789d05759421ff4a6b204e98fb356 [diff] |
Don't use side effects in the macro PUT_BITS_SEV parameters If ENTROPY_TRACE is defined, the value parameter gets evaluated twice. Since this parameter includes ++, the pointer gets incremented twice. This fixes encoding with trace enabled. Change-Id: I3d71ac33d007301e488d264a33c7b5c4d4ff2b56