diff --git a/repos/gems/include/gems/cached_font.h b/repos/gems/include/gems/cached_font.h index 72679634be..439e822b90 100644 --- a/repos/gems/include/gems/cached_font.h +++ b/repos/gems/include/gems/cached_font.h @@ -30,7 +30,7 @@ class Genode::Cached_font : public Text_painter::Font struct Cached_glyph : Glyph, Noncopyable { - Glyph::Opacity _values[]; + Glyph::Opacity _values[0]; /* * The number of values is not statically known but runtime-