diff --git a/Hakawai/Core/HKWTextView+Plugins.m b/Hakawai/Core/HKWTextView+Plugins.m index 312dc0d..7924f55 100644 --- a/Hakawai/Core/HKWTextView+Plugins.m +++ b/Hakawai/Core/HKWTextView+Plugins.m @@ -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;