• Martin Storsjö's avatar
    d3d11_adjust: Pass a non-const pointer to atomic_load · e527a6f3
    Martin Storsjö authored
    This fixes compilation with clang, which previously errored
    out with this message:
    
    error: address argument to atomic operation must be a pointer to non-const _Atomic
          type ('const atomic_int *' (aka 'const _Atomic(int) *') invalid)
        int level = atomic_load(&p_level->level);
                    ^           ~~~~~~~~~~~~~~~
    
    (cherry picked from commit c5161337)
    e527a6f3
Name
Last commit
Last update
autotools Loading commit data...
bin Loading commit data...
compat Loading commit data...
contrib Loading commit data...
doc Loading commit data...
extras Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
modules Loading commit data...
po Loading commit data...
share Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
THANKS Loading commit data...
bootstrap Loading commit data...
configure.ac Loading commit data...
make-alias Loading commit data...