Browse Source

MT#55283 fix naughty bit field bug

Change-Id: I865b54e0296b04009001e3df75db33a2745a3647
(cherry picked from commit 25a28db9ec)
mr13.4
Richard Fuchs 3 months ago
parent
commit
ea1ef2838e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/auxlib.h

+ 1
- 1
lib/auxlib.h View File

@ -682,7 +682,7 @@ INLINE void bf_copy(atomic64 *u, const uint64_t f,
}
/* works for multiple flags */
INLINE void bf_copy_same(atomic64 *u, const atomic64 *s, const uint64_t g) {
unsigned int old, set, clear;
uint64_t old, set, clear;
old = atomic64_get(s);
set = old & g;
clear = ~old & g;


Loading…
Cancel
Save