mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-16 10:16:35 +01:00
Some misc fixes
This commit is contained in:
@@ -112,7 +112,7 @@ int avatar_set(Tox *m, const char *path, size_t path_len)
|
||||
return -1;
|
||||
}
|
||||
|
||||
char PNG_signature[8] = {0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A};
|
||||
unsigned char PNG_signature[8] = {0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A};
|
||||
|
||||
if (check_file_signature(PNG_signature, sizeof(PNG_signature), fp) != 0) {
|
||||
fclose(fp);
|
||||
|
||||
Reference in New Issue
Block a user