diff options
author | David Robillard <d@drobilla.net> | 2022-06-07 21:19:26 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-06-07 21:19:26 -0400 |
commit | 5076f59694e33d1099511d20ef72f4fc6cfa87cd (patch) | |
tree | 28717b0445b72a5031985ebb6820a7d355609abf /test | |
parent | 6115f80dfb76ffbdeeacab5fc33ea4fb5eb677fd (diff) | |
download | pugl-5076f59694e33d1099511d20ef72f4fc6cfa87cd.tar.gz pugl-5076f59694e33d1099511d20ef72f4fc6cfa87cd.tar.bz2 pugl-5076f59694e33d1099511d20ef72f4fc6cfa87cd.zip |
Use a consistent scheme for enum sizes
Diffstat (limited to 'test')
-rw-r--r-- | test/test_utils.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_utils.h b/test/test_utils.h index b7a8f42..359f51d 100644 --- a/test/test_utils.h +++ b/test/test_utils.h @@ -254,8 +254,6 @@ puglViewHintString(const PuglViewHint hint) return "Ignore key repeat"; case PUGL_REFRESH_RATE: return "Refresh rate"; - case PUGL_NUM_VIEW_HINTS: - break; } return "Unknown"; @@ -264,7 +262,7 @@ puglViewHintString(const PuglViewHint hint) static inline void printViewHints(const PuglView* view) { - for (int i = 0; i < PUGL_NUM_VIEW_HINTS; ++i) { + for (unsigned i = 0; i < PUGL_NUM_VIEW_HINTS; ++i) { const PuglViewHint hint = (PuglViewHint)i; fprintf(stderr, "%s: %d\n", |