Fix using signed return codes for DOS.

This commit is contained in:
2021-03-11 04:44:00 +00:00
parent 4542f64b00
commit 055a54edbb
8 changed files with 24 additions and 23 deletions

View File

@@ -46,7 +46,7 @@ Copyright (C) 2011-2021 Natalia Portillo
void Filenames(const char* path)
{
char driveNo = path[0] - '@';
int rc = 0, wRc = 0, cRc = 0;
unsigned int rc, wRc = 0, cRc = 0;
unsigned actionTaken, total;
int handle;
char message[300];
@@ -65,7 +65,7 @@ void Filenames(const char* path)
return;
}
rc = chdir("FILENAME");
chdir("FILENAME");
printf("Creating files with different filenames.\n");