diff options
Diffstat (limited to 'examples/pugl_management_demo.c')
-rw-r--r-- | examples/pugl_management_demo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_management_demo.c b/examples/pugl_management_demo.c index 766bee1..50109a4 100644 --- a/examples/pugl_management_demo.c +++ b/examples/pugl_management_demo.c @@ -146,7 +146,7 @@ onKeyPress(PuglView* view, const PuglKeyEvent* event) case 'm': if ((flags & PUGL_VIEW_STYLE_TALL) && (flags & PUGL_VIEW_STYLE_WIDE)) { return puglSetViewStyle( - view, flags & ~(PUGL_VIEW_STYLE_TALL | PUGL_VIEW_STYLE_WIDE)); + view, flags & ~(unsigned)(PUGL_VIEW_STYLE_TALL | PUGL_VIEW_STYLE_WIDE)); } return puglSetViewStyle( |