2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Explicitly specify signed modifier for char type

This commit is contained in:
Sprite
2022-06-25 06:24:39 +08:00
committed by John Preston
parent fc7dcd0360
commit bf0ad9e7ca

View File

@@ -148,7 +148,7 @@ enum LocationType {
SecureFileLocation = 0xcbc7ee28, // mtpc_inputSecureFileLocation SecureFileLocation = 0xcbc7ee28, // mtpc_inputSecureFileLocation
}; };
enum FileStatus : char { enum FileStatus : signed char {
FileDownloadFailed = -2, FileDownloadFailed = -2,
FileUploadFailed = -1, FileUploadFailed = -1,
FileReady = 1, FileReady = 1,