diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_clipboard.c | 2 | ||||
-rw-r--r-- | test/test_local_copy_paste.c | 2 | ||||
-rw-r--r-- | test/test_remote_copy_paste.c | 4 | ||||
-rw-r--r-- | test/test_show_hide.c | 2 | ||||
-rw-r--r-- | test/test_size.c | 2 | ||||
-rw-r--r-- | test/test_timer.c | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/test/test_clipboard.c b/test/test_clipboard.c index 3cbb8d1..a99d150 100644 --- a/test/test_clipboard.c +++ b/test/test_clipboard.c @@ -51,7 +51,7 @@ main(int argc, char** argv) puglSetClassName(test.world, "PuglTest"); // Set up views - for (unsigned i = 0u; i < 2; ++i) { + for (unsigned i = 0U; i < 2; ++i) { test.views[i] = puglNewView(test.world); puglSetWindowTitle(test.world, "Pugl Clipboard Test"); puglSetBackend(test.views[i], puglStubBackend()); diff --git a/test/test_local_copy_paste.c b/test/test_local_copy_paste.c index 4a2f4d9..9f99a09 100644 --- a/test/test_local_copy_paste.c +++ b/test/test_local_copy_paste.c @@ -16,7 +16,7 @@ #include <stdint.h> #include <string.h> -static const uintptr_t timerId = 1u; +static const uintptr_t timerId = 1U; typedef enum { START, diff --git a/test/test_remote_copy_paste.c b/test/test_remote_copy_paste.c index 07e75d9..9d385ad 100644 --- a/test/test_remote_copy_paste.c +++ b/test/test_remote_copy_paste.c @@ -16,8 +16,8 @@ #include <stdint.h> #include <string.h> -static const uintptr_t copierTimerId = 1u; -static const uintptr_t pasterTimerId = 2u; +static const uintptr_t copierTimerId = 1U; +static const uintptr_t pasterTimerId = 2U; typedef enum { START, diff --git a/test/test_show_hide.c b/test/test_show_hide.c index bfcb035..61f2bc6 100644 --- a/test/test_show_hide.c +++ b/test/test_show_hide.c @@ -113,7 +113,7 @@ main(int argc, char** argv) } // Show and hide window a couple of times - for (unsigned i = 0u; i < 2u; ++i) { + for (unsigned i = 0U; i < 2U; ++i) { assert(!puglShow(test.view)); while (test.state != EXPOSED) { tick(test.world); diff --git a/test/test_size.c b/test/test_size.c index 9597a08..1c2f0c6 100644 --- a/test/test_size.c +++ b/test/test_size.c @@ -77,7 +77,7 @@ main(int argc, char** argv) NULL, puglParseTestOptions(&argc, &argv), START, - {0, 0, 0u, 0u}}; + {0, 0, 0U, 0U}}; // Set up view with size bounds and an aspect ratio test.view = puglNewView(test.world); diff --git a/test/test_timer.c b/test/test_timer.c index 401e4d5..34223c9 100644 --- a/test/test_timer.c +++ b/test/test_timer.c @@ -29,7 +29,7 @@ static const double timeout = -1.0; // Windows SetTimer has a maximum resolution of 10ms static const double tolerance = 0.012; -static const uintptr_t timerId = 1u; +static const uintptr_t timerId = 1U; static const double timerPeriod = 1 / 60.0; typedef enum { |