Tweaked C code to give explicit value to Ecc enum, to approve of casting enum values to/from int.
This commit is contained in:
parent
23244832b5
commit
c82c6f478b
|
@ -33,7 +33,7 @@
|
||||||
* Represents the error correction level used in a QR Code symbol.
|
* Represents the error correction level used in a QR Code symbol.
|
||||||
*/
|
*/
|
||||||
enum qrcodegen_Ecc {
|
enum qrcodegen_Ecc {
|
||||||
qrcodegen_Ecc_LOW,
|
qrcodegen_Ecc_LOW = 0,
|
||||||
qrcodegen_Ecc_MEDIUM,
|
qrcodegen_Ecc_MEDIUM,
|
||||||
qrcodegen_Ecc_QUARTILE,
|
qrcodegen_Ecc_QUARTILE,
|
||||||
qrcodegen_Ecc_HIGH,
|
qrcodegen_Ecc_HIGH,
|
||||||
|
|
Loading…
Reference in New Issue