Use proper type for keepalive

Minor, but keepalive member in struct mqtt_connect_info is signed and gets compared with unsigned.
pull/16/head
Jeff Hufford 2016-09-17 10:22:57 -07:00 zatwierdzone przez GitHub
rodzic 5162b941a8
commit 149091e167
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -100,7 +100,7 @@ typedef struct mqtt_connect_info
char* password;
char* will_topic;
char* will_message;
int keepalive;
uint32_t keepalive;
int will_qos;
int will_retain;
int clean_session;