make midi->tickets signed (sign is needed for arithmetics). Found

by David Coppa. Thanks.
This commit is contained in:
Alexandre Ratchov 2016-01-09 14:33:10 +01:00
parent 12dccf8463
commit cf1ebc72d3
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ struct midi {
unsigned int len; /* expected ``msg'' length */
unsigned int txmask; /* list of ep we send to */
unsigned int self; /* equal (1 << index) */
unsigned int tickets; /* max bytes we can process */
int tickets; /* max bytes we can process */
struct abuf obuf; /* output buffer */
};