projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed long to int (64 bit system's compatibilty)
[lcr.git]
/
apppbx.cpp
diff --git
a/apppbx.cpp
b/apppbx.cpp
index
6304848
..
e491a57
100644
(file)
--- a/
apppbx.cpp
+++ b/
apppbx.cpp
@@
-1990,7
+1990,7
@@
void EndpointAppPBX::port_connect(struct port_list *portlist, int message_type,
{
struct lcr_msg *message;
char buffer[256];
{
struct lcr_msg *message;
char buffer[256];
- unsigned
long
port_id = portlist->port_id;
+ unsigned
int
port_id = portlist->port_id;
struct port_list *tportlist;
class Port *port;
struct interface *interface;
struct port_list *tportlist;
class Port *port;
struct interface *interface;
@@
-2200,7
+2200,7
@@
void EndpointAppPBX::port_disconnect_release(struct port_list *portlist, int mes
{
struct lcr_msg *message;
char buffer[256];
{
struct lcr_msg *message;
char buffer[256];
- unsigned
long
port_id = portlist->port_id;
+ unsigned
int
port_id = portlist->port_id;
int cause,
location;
int cause,
location;
@@
-2595,7
+2595,7
@@
void EndpointAppPBX::port_resume(struct port_list *portlist, int message_type, u
/* port sends message to the endpoint
*/
/* port sends message to the endpoint
*/
-void EndpointAppPBX::ea_message_port(unsigned
long
port_id, int message_type, union parameter *param)
+void EndpointAppPBX::ea_message_port(unsigned
int
port_id, int message_type, union parameter *param)
{
struct port_list *portlist;
struct lcr_msg *message;
{
struct port_list *portlist;
struct lcr_msg *message;
@@
-3318,7
+3318,7
@@
void EndpointAppPBX::join_notify(struct port_list *portlist, int message_type, u
/* JOIN sends messages to the endpoint
*/
/* JOIN sends messages to the endpoint
*/
-void EndpointAppPBX::ea_message_join(unsigned
long
join_id, int message_type, union parameter *param)
+void EndpointAppPBX::ea_message_join(unsigned
int
join_id, int message_type, union parameter *param)
{
struct port_list *portlist;
struct lcr_msg *message;
{
struct port_list *portlist;
struct lcr_msg *message;
@@
-4052,7
+4052,7
@@
int EndpointAppPBX::check_external(char **errstr, class Port **port)
return(0);
}
return(0);
}
-void EndpointAppPBX::logmessage(int message_type, union parameter *param, unsigned
long
port_id, int dir)
+void EndpointAppPBX::logmessage(int message_type, union parameter *param, unsigned
int
port_id, int dir)
{
char *logtext = "unknown";
char buffer[64];
{
char *logtext = "unknown";
char buffer[64];