mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-09 16:21:45 +00:00
Squash more warnings
This commit is contained in:
1 parent
736b8ad7b7
commit
838b0bcd27
5 files changed
+10
-9
No files matched your search
+1
-1
@@ -119,7 +119,7 @@ int mg_mqtt_parse(const uint8_t *buf, size_t len, struct mg_mqtt_message *m) {
|
||||
memset(m, 0, sizeof(*m));
|
||||
m->dgram.ptr = (char *) buf;
|
||||
if (len < 2) return MQTT_INCOMPLETE;
|
||||
m->cmd = buf[0] >> 4;
|
||||
m->cmd = (uint8_t)(buf[0] >> 4);
|
||||
m->qos = (buf[0] >> 1) & 3;
|
||||
|
||||
n = len_len = 0;
|
||||
|
||||
Reference in new issue
Block a user