aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_utils.h4
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",