Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

fix unsigned warning

konero1a58369771b8
diff --git a/toonz/sources/toonz/filebrowsermodel.cpp b/toonz/sources/toonz/filebrowsermodel.cpp
index 3371b58d9..60f85616b 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) {