Fix unsigned warning

This commit is contained in:
konero 2023-06-29 16:05:19 +01:00 committed by GitHub
parent fb3d710197
commit ffff9da6c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1003,7 +1003,7 @@ void DvDirModelNetworkNode::refreshChildren() {
err = WNetEnumResource(enumHandle, &count, buffer, &bufferSize);
if (err == NO_ERROR) {
for (int i = 0; i < count; ++i) {
for (DWORD i = 0; i < count; ++i) {
// Only list disk-type devices - in any case, the remote (UNC) name
// should exist
if (buffer[i].dwType == RESOURCETYPE_DISK && buffer[i].lpRemoteName) {