@@ -12,7 +12,7 @@ PikaEventListener* g_mqtt_event_listener = NULL;
12
12
13
13
void Subscribe_Handler (void * client , message_data_t * msg );
14
14
15
- const uint32_t MQTT_RECONNECTION_EVENT_ID = 0xFFAA0088 ;
15
+ const uintptr_t MQTT_RECONNECTION_EVENT_ID = 0xFFAA0088 ;
16
16
17
17
void _mqtt__MQTT___init__ (PikaObj * self ,
18
18
char * ip ,
@@ -448,7 +448,7 @@ int _mqtt__MQTT_subscribe(PikaObj* self, char* topic, Arg* cb, int qos) {
448
448
if (NULL == g_mqtt_event_listener ) {
449
449
pika_eventListener_init (& g_mqtt_event_listener );
450
450
}
451
- uint32_t eventId = hash_time33 (topic_str );
451
+ uintptr_t eventId = hash_time33 (topic_str );
452
452
// __platform_printf("hash_time33(topic_str):%d
453
453
// \r\n",hash_time33(topic_str));
454
454
pika_eventListener_registEventCallback (g_mqtt_event_listener ,
@@ -552,7 +552,7 @@ int _mqtt__MQTT_setDisconnectHandler(PikaObj* self, Arg* cb) {
552
552
if (NULL == g_mqtt_event_listener ) {
553
553
pika_eventListener_init (& g_mqtt_event_listener );
554
554
}
555
- // uint32_t eventId = hash_time33(topic_str);
555
+ // uintptr_t eventId = hash_time33(topic_str);
556
556
// __platform_printf("hash_time33(topic_str):%d
557
557
// \r\n",hash_time33(topic_str));
558
558
pika_eventListener_registEventHandler (g_mqtt_event_listener ,
0 commit comments