@@ -12,7 +12,7 @@ PikaEventListener* g_mqtt_event_listener = NULL;
1212
1313void Subscribe_Handler (void * client , message_data_t * msg );
1414
15- const uint32_t MQTT_RECONNECTION_EVENT_ID = 0xFFAA0088 ;
15+ const uintptr_t MQTT_RECONNECTION_EVENT_ID = 0xFFAA0088 ;
1616
1717void _mqtt__MQTT___init__ (PikaObj * self ,
1818 char * ip ,
@@ -448,7 +448,7 @@ int _mqtt__MQTT_subscribe(PikaObj* self, char* topic, Arg* cb, int qos) {
448448 if (NULL == g_mqtt_event_listener ) {
449449 pika_eventListener_init (& g_mqtt_event_listener );
450450 }
451- uint32_t eventId = hash_time33 (topic_str );
451+ uintptr_t eventId = hash_time33 (topic_str );
452452 // __platform_printf("hash_time33(topic_str):%d
453453 // \r\n",hash_time33(topic_str));
454454 pika_eventListener_registEventCallback (g_mqtt_event_listener ,
@@ -552,7 +552,7 @@ int _mqtt__MQTT_setDisconnectHandler(PikaObj* self, Arg* cb) {
552552 if (NULL == g_mqtt_event_listener ) {
553553 pika_eventListener_init (& g_mqtt_event_listener );
554554 }
555- // uint32_t eventId = hash_time33(topic_str);
555+ // uintptr_t eventId = hash_time33(topic_str);
556556 // __platform_printf("hash_time33(topic_str):%d
557557 // \r\n",hash_time33(topic_str));
558558 pika_eventListener_registEventHandler (g_mqtt_event_listener ,
0 commit comments