errorStr += strerror(errno);
errorStr += "'";
printfd(__FILE__, "FILES_STORE::RemoveDir() - unlink failed. Message: '%s'\n", strerror(errno));
errorStr += strerror(errno);
errorStr += "'";
printfd(__FILE__, "FILES_STORE::RemoveDir() - unlink failed. Message: '%s'\n", strerror(errno));
- snprintf(dirName, 3, "U%d", i);
+ snprintf(dirName, 3, "U%llu", (unsigned long long)i);
s.WriteInt(dirName, stat.up[i]); // Classic
s2.WriteInt(dirName, stat.up[i]); // New
s.WriteInt(dirName, stat.up[i]); // Classic
s2.WriteInt(dirName, stat.up[i]); // New
- snprintf(dirName, 3, "D%d", i);
+ snprintf(dirName, 3, "D%llu", (unsigned long long)i);
s.WriteInt(dirName, stat.down[i]); // Classic
s2.WriteInt(dirName, stat.down[i]); // New
}
s.WriteInt(dirName, stat.down[i]); // Classic
s2.WriteInt(dirName, stat.down[i]); // New
}