fixed trace bug
[lcr.git] / endpointapp.cpp
index 05d5d0b..a3c6f56 100644 (file)
@@ -9,14 +9,12 @@
 **                                                                           **
 \*****************************************************************************/ 
 
-
-#include <stdio.h>
 #include "main.h"
 
 /*
  * EndpointApp constructor
  */
-EndpointApp::EndpointApp(class Endpoint *epoint)
+EndpointApp::EndpointApp(class Endpoint *epoint, int origin)
 {
        ea_endpoint = epoint;
        classuse++;
@@ -37,12 +35,12 @@ int EndpointApp::handler(void)
 
 /* mini application for test purpose only */
 
-void EndpointApp::ea_message_port(unsigned long port_id, int message_type, union parameter *param)
+void EndpointApp::ea_message_port(unsigned int port_id, int message_type, union parameter *param)
 {
        PDEBUG(DEBUG_EPOINT, "%s: Spare function.\n", __FUNCTION__);
 }
 
-void EndpointApp::ea_message_join(unsigned long join_id, int message_type, union parameter *param)
+void EndpointApp::ea_message_join(unsigned int join_id, int message_type, union parameter *param)
 {
        PDEBUG(DEBUG_EPOINT, "%s: Spare function.\n", __FUNCTION__);
 }