Added little INSTALL document and fixed some compiler issues

This commit is contained in:
Andreas Eversberg
2018-11-02 09:28:48 +01:00
parent e5c4e1f638
commit 2cff22ef54
3 changed files with 27 additions and 3 deletions

View File

@@ -252,7 +252,7 @@ static int encode_userdata(uint8_t *data, const char *message)
j = 0;
pos = 0;
for (i = 0; message[i]; i++) {
if (message[i] >= 0)
if ((int8_t)message[i] >= 0)
character = message[i]; /* 0..127 */
else
character = '?'; /* 128..255 */