diff options
author | 2016-09-03 14:37:09 +0200 | |
---|---|---|
committer | 2016-09-03 14:37:09 +0200 | |
commit | ff9c4b5acb76cde0246f48c44f531989c1e7c7cb (patch) | |
tree | 1319c4838a69e76ae8a099b82d026bf8add86797 /3rdparty/rapidjson/test/unittest/schematest.cpp | |
parent | a6409d692ef748e6b8f7980d6bcb74a0a466d9cb (diff) |
Update RapidJson to latest (nw)
Diffstat (limited to '3rdparty/rapidjson/test/unittest/schematest.cpp')
-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; } |