Skip to content

Commit

Permalink
fixing code warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bosborn committed Apr 4, 2019
1 parent 06f986e commit 78e5ce4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion geopackage-ios/geom/map/GPKGPolygonOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* The fill color to use for the path
*/
@property (strong, nullable) UIColor *fillColor;
@property (nonatomic, strong) UIColor *fillColor;

/**
* The stroke color to use for the path
Expand Down
2 changes: 1 addition & 1 deletion geopackage-ios/tiles/features/GPKGFeatureTileContext.m
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ -(CGContextRef) contextForLayer: (int) layer{
if(contextObject != nil){
context = (__bridge CGContextRef) contextObject;
}else{
CGColorSpaceRef colorSpace = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB);
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
context = CGBitmapContextCreate(NULL, self.tileWidth, self.tileHeight, 8, 0, colorSpace, kCGImageAlphaPremultipliedLast);
CGColorSpaceRelease(colorSpace);

Expand Down

0 comments on commit 78e5ce4

Please sign in to comment.