Skip to content
Snippets Groups Projects
Commit c1c2af26 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Use full word size.

parent b33bf237
No related branches found
No related tags found
2 merge requests!91Add alternative code path for huge buffers.,!89Miscellaneous fixes and CDI-PIO improvements
......@@ -53,7 +53,7 @@ has_uri_scheme(const char *uri)
const char *pos = strstr(uri, "://");
if (pos)
{
int len = pos - uri;
size_t len = (size_t)(pos - uri);
if (strncmp(uri, "file", len) == 0 || strncmp(uri, "https", len) == 0 || strncmp(uri, "s3", len) == 0) return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment