diff options
author | Daniel Boles <dboles.src@gmail.com> | 2018-10-24 19:48:45 +0100 |
---|---|---|
committer | Daniel Boles <dboles.src@gmail.com> | 2018-11-07 20:32:55 +0000 |
commit | 18199a3cef0f12c94f8cc9247be4352cfb85b692 (patch) | |
tree | ca2c027b5c4b12bdcf6870cdbe072a140232f673 /tests | |
parent | 3194c394717e38fec0b74a46ffc01f47d2bde1bc (diff) | |
download | gtk+-18199a3cef0f12c94f8cc9247be4352cfb85b692.tar.gz |
testtreelistmodel: Don't use non-standard function
as per efd3758f6a779041ff552cb4c5163446fd951368 strcasecmp() is not a C
standard thing (not that we bothered including any header for it anyway)
and so this test failed to build on Windows with Microsoft Visual C.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testtreelistmodel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testtreelistmodel.c b/tests/testtreelistmodel.c index ad9f0f4c59..88f219797b 100644 --- a/tests/testtreelistmodel.c +++ b/tests/testtreelistmodel.c @@ -131,7 +131,7 @@ compare_files (gconstpointer first, first_path = g_file_get_path (first_file); second_path = g_file_get_path (second_file); - result = strcasecmp (first_path, second_path); + result = g_ascii_strcasecmp (first_path, second_path); g_free (first_path); g_free (second_path); |