美文网首页iOS
iOS objective c implicit convers

iOS objective c implicit convers

作者: NieFeng1024 | 来源:发表于2017-03-05 15:32 被阅读1次
    ERROR.png

    uInt avail_in; /* number of bytes available at next_in */
    @property (readonly) NSUInteger length;

    赋值类型不匹配导致编译器报错

    强制转换即可
    .avail_in = (uInt)[pUncompressedData length];

    相关文章

      网友评论

        本文标题:iOS objective c implicit convers

        本文链接:https://www.haomeiwen.com/subject/jmcegttx.html