aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac_gl.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/mac_gl.m')
-rw-r--r--src/mac_gl.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mac_gl.m b/src/mac_gl.m
index dd06cc0..24d3846 100644
--- a/src/mac_gl.m
+++ b/src/mac_gl.m
@@ -73,8 +73,8 @@
NSOpenGLPFAColorSize, colorSize,
NSOpenGLPFADepthSize, (unsigned)puglview->hints[PUGL_DEPTH_BITS],
NSOpenGLPFAStencilSize, (unsigned)puglview->hints[PUGL_STENCIL_BITS],
- NSOpenGLPFAMultisample, samples ? 1 : 0,
- NSOpenGLPFASampleBuffers, samples ? 1 : 0,
+ NSOpenGLPFAMultisample, samples ? 1u : 0u,
+ NSOpenGLPFASampleBuffers, samples ? 1u : 0u,
NSOpenGLPFASamples, samples,
0};
// clang-format on