Skip to content

Commit 78e5ce4

Browse files
committed
fixing code warnings
1 parent 06f986e commit 78e5ce4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

geopackage-ios/geom/map/GPKGPolygonOptions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* The fill color to use for the path
1818
*/
19-
@property (strong, nullable) UIColor *fillColor;
19+
@property (nonatomic, strong) UIColor *fillColor;
2020

2121
/**
2222
* The stroke color to use for the path

geopackage-ios/tiles/features/GPKGFeatureTileContext.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ -(CGContextRef) contextForLayer: (int) layer{
151151
if(contextObject != nil){
152152
context = (__bridge CGContextRef) contextObject;
153153
}else{
154-
CGColorSpaceRef colorSpace = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB);
154+
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
155155
context = CGBitmapContextCreate(NULL, self.tileWidth, self.tileHeight, 8, 0, colorSpace, kCGImageAlphaPremultipliedLast);
156156
CGColorSpaceRelease(colorSpace);
157157

0 commit comments

Comments
 (0)