Tweaked C code to give explicit value to Ecc enum, to approve of casting enum values to/from int.

This commit is contained in:
Project Nayuki 2017-04-26 17:21:44 +00:00
parent 23244832b5
commit c82c6f478b
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@
* Represents the error correction level used in a QR Code symbol.
*/
enum qrcodegen_Ecc {
qrcodegen_Ecc_LOW,
qrcodegen_Ecc_LOW = 0,
qrcodegen_Ecc_MEDIUM,
qrcodegen_Ecc_QUARTILE,
qrcodegen_Ecc_HIGH,