隐式转换失去整数精度:' NSUInteger' (又名' unsigned long')to' uint32_t' (又名' unsigned int')

时间:2015-09-24 15:22:10

标签: ios objective-c nsuinteger

Xcode向我报告以下警告:

  

隐式转换失去整数精度:' NSUInteger' (又名' unsigned long')to' uint32_t' (又名' unsigned int')

产生此警告的行是:

 NSUInteger radius = // some value;
 vImage_Buffer effectOutBuffer;

vImageBoxConvolve_ARGB8888(&effectInBuffer, &effectOutBuffer, NULL, 0, 0, radius, radius, 0, kvImageEdgeExtend);

如何摆脱此警告?

0 个答案:

没有答案