use memset instead of bzeo, to conform to the rest of the file

This commit is contained in:
Riccardo Mottola 2024-05-17 11:37:57 +02:00
parent f02d54ee8a
commit 7feeccceab

View file

@ -143,7 +143,7 @@
QueryColorDatabase("none", &imageinfo->background_color, exception);
#endif
bzero(signature, 32);
memset(signature, 0, 32);
[data getBytes: signature range: NSMakeRange([data length] - 18, 18)];
if (strncmp(signature, "TRUEVISION-XFILE.", 17) == 0)
{