Skip to content

Commit

Permalink
Merge pull request #29 from jmkk/int_fix
Browse files Browse the repository at this point in the history
Fixing a debug device build warning for unsafe usage of UInteger
  • Loading branch information
mrsmiley009 authored Oct 5, 2016
2 parents 2d046b5 + 6dee8a3 commit e510ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hakawai/Core/HKWTextView+Plugins.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ - (CGRect)enterSingleLineViewportMode:(HKWViewportMode)mode captureTouches:(BOOL

UITextPosition *p = [self positionFromPosition:self.beginningOfDocument offset:self.selectedRange.location];
NSAssert(p != nil, @"Text position from %@, offset %ld returned nil. This should never happen.",
self.beginningOfDocument, self.selectedRange.location);
self.beginningOfDocument, (unsigned long)self.selectedRange.location);
CGRect caretRect = [self caretRectForPosition:p];

CGFloat offsetY = 0;
Expand Down

0 comments on commit e510ad2

Please sign in to comment.