diff options
author | David Robillard <d@drobilla.net> | 2023-05-03 10:25:20 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-05-03 10:38:23 -0400 |
commit | 7f7ff7e0a1f3bb936006615773a974e2bcd2afb0 (patch) | |
tree | 1069c3ec9c26bf8e7ecac6a9ff516804b838decb /examples/pugl_management_demo.c | |
parent | 3932b6bb06a0fe28a990d4906b4e9ca77764a729 (diff) | |
download | pugl-7f7ff7e0a1f3bb936006615773a974e2bcd2afb0.tar.gz pugl-7f7ff7e0a1f3bb936006615773a974e2bcd2afb0.tar.bz2 pugl-7f7ff7e0a1f3bb936006615773a974e2bcd2afb0.zip |
Fix implicit sign conversions
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( |