Skip to content

Fix clang warning by avoiding GNU extension.

Martin Heistermann requested to merge fix-clang-warning-gnuext into master

This warning creates a lot of noise during compilation with recent clang.

../OpenFlipper/libs_required/ACG/GL/globjects.hh:154:25: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
    return ((char*)NULL + _offset);

Merge request reports