Skip to content

Commit

Permalink
Fixed compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultcha committed Jun 3, 2013
1 parent eb1778a commit 5bf542d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/UIImage+StackBlur.m
Expand Up @@ -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);
}

Expand Down

0 comments on commit 5bf542d

Please sign in to comment.