Fixed compiler warnings

This commit is contained in:
Alex
2022-11-02 17:12:56 +02:00
parent 62e1db5f39
commit 83d5397584
2 changed files with 6 additions and 6 deletions

View File

@ -88,7 +88,7 @@ namespace Disk
// why there is NUL (\0) between every char?????
char PartName[72];
memcpy(PartName, GPTPartition.Label, 72);
for (char i = 0; i < 72; i++)
for (int i = 0; i < 72; i++)
if (PartName[i] == '\0')
PartName[i] = ' ';
PartName[71] = '\0';