diff options
Diffstat (limited to '3rdparty/rapidjson/test')
-rw-r--r-- | 3rdparty/rapidjson/test/unittest/schematest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/rapidjson/test/unittest/schematest.cpp b/3rdparty/rapidjson/test/unittest/schematest.cpp index d75b1e593e0..6a8b685f454 100644 --- a/3rdparty/rapidjson/test/unittest/schematest.cpp +++ b/3rdparty/rapidjson/test/unittest/schematest.cpp @@ -1101,7 +1101,7 @@ public: }; for (size_t i = 0; i < kCount; i++) - if (strncmp(uri, uris[i], length) == 0) + if (strncmp(uri, uris[i], length) == 0 && strlen(uris[i]) == length) return sd_[i]; return 0; } |