aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_management_demo.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-05-03 10:25:20 -0400
committerDavid Robillard <d@drobilla.net>2023-05-03 10:38:23 -0400
commit7f7ff7e0a1f3bb936006615773a974e2bcd2afb0 (patch)
tree1069c3ec9c26bf8e7ecac6a9ff516804b838decb /examples/pugl_management_demo.c
parent3932b6bb06a0fe28a990d4906b4e9ca77764a729 (diff)
downloadpugl-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.c2
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(