From 5bf542d8b465620db154471735967592d52992f0 Mon Sep 17 00:00:00 2001 From: thibaultCha Date: Mon, 3 Jun 2013 11:51:36 +0200 Subject: [PATCH] Fixed compiler warning --- Classes/UIImage+StackBlur.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/UIImage+StackBlur.m b/Classes/UIImage+StackBlur.m index 16c7dcf..13c985a 100644 --- a/Classes/UIImage+StackBlur.m +++ b/Classes/UIImage+StackBlur.m @@ -127,7 +127,7 @@ + (void) applyStackBlurToBuffer:(UInt8*)targetBuffer width:(const int)w height:( const size_t dvcount = 256 * divsum; int *dv = malloc(sizeof(int) * dvcount); - for (int i = 0;i < dvcount;i++) { + for (int i = 0;(size_t)i < dvcount;i++) { dv[i] = (i / divsum); }