diff options
author | David Robillard <d@drobilla.net> | 2022-10-07 15:19:39 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-10-07 15:22:43 -0400 |
commit | 17d90bda87dd445a974de7e644629593ade617d8 (patch) | |
tree | 319a23c713a4d089863d9c169d63a1d2d413521c /src/mac.m | |
parent | ed4c8a50505ab02a8f3a01e41f5f86acca04b81d (diff) | |
download | pugl-17d90bda87dd445a974de7e644629593ade617d8.tar.gz pugl-17d90bda87dd445a974de7e644629593ade617d8.tar.bz2 pugl-17d90bda87dd445a974de7e644629593ade617d8.zip |
Use uppercase integer literal suffixes
Diffstat (limited to 'src/mac.m')
-rw-r--r-- | src/mac.m | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |