diff options
author | David Robillard <d@drobilla.net> | 2023-05-03 10:27:12 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-05-03 10:38:23 -0400 |
commit | 7a1d0239a6eecf99532d9a1ce8859eec876a142e (patch) | |
tree | 73ff17662d18581a2170a91042a794b789c35be7 /test | |
parent | 7f7ff7e0a1f3bb936006615773a974e2bcd2afb0 (diff) | |
download | pugl-7a1d0239a6eecf99532d9a1ce8859eec876a142e.tar.gz pugl-7a1d0239a6eecf99532d9a1ce8859eec876a142e.tar.bz2 pugl-7a1d0239a6eecf99532d9a1ce8859eec876a142e.zip |
Fix mismatched format specifiers
Diffstat (limited to 'test')
-rw-r--r-- | test/test_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_utils.h b/test/test_utils.h index 785c8c7..c1dfb9d 100644 --- a/test/test_utils.h +++ b/test/test_utils.h @@ -365,7 +365,7 @@ puglParseTestOptions(int* pargc, char*** pargv) } const int matches = - sscanf(argv[i], "%u.%u", &opts.glMajorVersion, &opts.glMinorVersion); + sscanf(argv[i], "%d.%d", &opts.glMajorVersion, &opts.glMinorVersion); if (matches != 2) { fprintf(stderr, "error: Invalid OpenGL version argument\n"); return opts; |