diff options
author | David Robillard <d@drobilla.net> | 2025-01-21 11:17:32 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-01-21 11:17:32 -0500 |
commit | 8c8c268bf2166b9049b51cde89a3330462771249 (patch) | |
tree | e4a8f33e0dff8989cea934e91ea2cb6ea0f29d8d /test/test_utils.h | |
parent | 19b57eae068efd0c56469a1feb4401bc9aa338b8 (diff) | |
download | pugl-8c8c268bf2166b9049b51cde89a3330462771249.tar.gz pugl-8c8c268bf2166b9049b51cde89a3330462771249.tar.bz2 pugl-8c8c268bf2166b9049b51cde89a3330462771249.zip |
Separate C++ build tests to avoid C/C++ warning clashes
Diffstat (limited to 'test/test_utils.h')
-rw-r--r-- | test/test_utils.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test_utils.h b/test/test_utils.h index 214b360..4ebd985 100644 --- a/test/test_utils.h +++ b/test/test_utils.h @@ -471,11 +471,10 @@ static inline void printViewHints(const PuglView* view) { for (unsigned i = 0; i < PUGL_NUM_VIEW_HINTS; ++i) { - const PuglViewHint hint = (PuglViewHint)i; fprintf(stderr, "%s: %d\n", - puglViewHintString(hint), - puglGetViewHint(view, hint)); + puglViewHintString((PuglViewHint)i), + puglGetViewHint(view, (PuglViewHint)i)); } } |