From 6dee8a3e7b1b9b3730ca683806ae7420487a7156 Mon Sep 17 00:00:00 2001 From: Jacek Suliga Date: Wed, 5 Oct 2016 16:20:44 -0700 Subject: [PATCH] Fixing a debug device build warning for unsafe usage of UInteger as a format argument. --- Hakawai/Core/HKWTextView+Plugins.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;