Unverified Commit aa53106d authored by Kenton Varda's avatar Kenton Varda Committed by GitHub

Merge pull request #802 from Crunkle/master

Fix narrowing conversion
parents ca7565ec a5693318
......@@ -1514,7 +1514,7 @@ public:
Vector<Entry> results;
for (uint i = 0; i < 26; i++) {
if (drives & (1 << i)) {
char name[2] = { 'A' + i, ':' };
char name[2] = { static_cast<char>('A' + i), ':' };
results.add(Entry { FsNode::Type::DIRECTORY, kj::heapString(name, 2) });
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment