fix deprecations.

This commit is contained in:
Damiano Galassi committed 2019-02-05 10:10:48 +01:00
1 parent 9cea3be041
commit 7870edbaaf
4 files changed
+8 -9

No files matched your search

+1 -1
View File
@@ -1100,7 +1100,7 @@
if (representations.count) {
NSData *bitmapData = [NSBitmapImageRep representationOfImageRepsInArray:representations
usingType:NSPNGFileType properties:@{}];
usingType:NSBitmapImageFileTypePNG properties:@{}];
if (bitmapData) {
newArtwork.data = (void *)bitmapData.bytes;