zxingify / zxingify-objc

An Objective-C Port of ZXing
Apache License 2.0
3.07k stars 753 forks source link

Getting warning on this line while running on Xcode 13 #546

Closed sanjay-mohnani-rakuten closed 1 year ago

sanjay-mohnani-rakuten commented 3 years ago

https://github.com/zxingify/zxingify-objc/blob/e75eeff2089d66fc94514b43db3678a8812a9bbe/ZXingObjC/datamatrix/decoder/ZXDataMatrixDecodedBitStreamParser.m#L246


We are getting below mentioned warning when we run this pod on Xcode 13 -

/Users/xxxx-xxxx/Source/card-ios/Pods/ZXingObjC/ZXingObjC/datamatrix/decoder/ZXDataMatrixDecodedBitStreamParser.m:224:57: Expression does not compute the number of elements in this array; element type is 'const unichar' (aka 'const unsigned short'), not 'char'

 Is it safe to proceed with the above warning or not?

benjohnde commented 1 year ago

Should be fixed with current master!