diff --git a/toonz/sources/toonz/filebrowsermodel.cpp b/toonz/sources/toonz/filebrowsermodel.cpp index 3371b58..60f8561 100644 --- a/toonz/sources/toonz/filebrowsermodel.cpp +++ b/toonz/sources/toonz/filebrowsermodel.cpp @@ -983,7 +983,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) {