Fix some warnings

This commit is contained in:
2023-01-05 21:27:50 +01:00
parent 34216d1b6e
commit 937c27fc23
2 changed files with 5 additions and 4 deletions

View File

@@ -940,7 +940,7 @@ namespace gourou
/* In adobekey.py, we get base64 decoded data [26:] */
ret = write(fd, privateLicenseKey.data()+26, privateLicenseKey.length()-26);
close(fd);
if (ret != privateLicenseKey.length()-26)
if (ret != (int)(privateLicenseKey.length()-26))
{
EXCEPTION(gourou::GOUROU_FILE_ERROR, "Error writing " << path);
}