Merge pull request #1181 from konero/taho_fixunsignedwarning

Fix unsigned warning
This commit is contained in:
manongjohn 2023-07-04 08:06:55 -04:00 committed by GitHub
commit 2addac8e23
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) {