From 17d90bda87dd445a974de7e644629593ade617d8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 7 Oct 2022 15:19:39 -0400 Subject: Use uppercase integer literal suffixes --- src/mac.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mac.m') diff --git a/src/mac.m b/src/mac.m index fafade3..f93f80c 100644 --- a/src/mac.m +++ b/src/mac.m @@ -999,7 +999,7 @@ updateSizeHint(PuglView* const view, const PuglSizeHint hint) static void updateSizeHints(PuglView* const view) { - for (unsigned i = 0u; i < PUGL_NUM_SIZE_HINTS; ++i) { + for (unsigned i = 0U; i < PUGL_NUM_SIZE_HINTS; ++i) { updateSizeHint(view, (PuglSizeHint)i); } } @@ -1633,7 +1633,7 @@ puglAcceptOffer(PuglView* const view, wrapper->dragTypeIndex = typeIndex; const PuglDataEvent data = { - PUGL_DATA, 0u, mach_absolute_time() / 1e9, (uint32_t)typeIndex}; + PUGL_DATA, 0U, mach_absolute_time() / 1e9, (uint32_t)typeIndex}; PuglEvent dataEvent; dataEvent.data = data; -- cgit v1.2.1