diff options
-rw-r--r-- | README | 5 | ||||
-rw-r--r-- | src/main.c | 2 |
2 files changed, 4 insertions, 3 deletions
@@ -19,8 +19,9 @@ This is a app to run a snack machine as taler merchant with nfc payment interface. #### Tasks - * Add libjansson to parse and create json objects - * Build system, makefile provided is not suitable + * fix bug when order pending -> press cancel -> abort from gunent scheduler + Nov 12 18:47:04-224202 util-scheduler-4656 ERROR `select' failed at scheduler.c:2336 with error: Bad file descriptor + Nov 12 18:47:04-224321 taler-mdb-4656 ERROR Assertion failed at scheduler.c:2370. Aborting. #### Remarks * When using an ACR122 device there may be problems with libnfc, see libnfc for further information @@ -215,7 +215,7 @@ show_qrcode (const char *uri) { unsigned int off = (x * qrc->width / size) + (y * qrc->width / size) * qrc->width; - for (int c = 0; c < n_channels; c++) + for (unsigned int c = 0; c < n_channels; c++) pixels[(y * size + x) * n_channels + c] = (0 == (qrc->data[off] & 1)) ? 0xFF : 0; } |