summaryrefslogtreecommitdiffstats
path: root/endpoint.h
diff options
context:
space:
mode:
authorSuper User2008-06-14 08:34:50 +0200
committerSuper User2008-06-14 08:34:50 +0200
commitd2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4 (patch)
tree8c9e9504a275a43d5a8785dcca7badf28ada5999 /endpoint.h
parentfixed dialing-bug when dialing chan_lcr (diff)
downloadlcr-d2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4.tar.gz
lcr-d2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4.tar.xz
lcr-d2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4.zip
changed long to int (64 bit system's compatibilty)
Diffstat (limited to 'endpoint.h')
-rw-r--r--endpoint.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/endpoint.h b/endpoint.h
index a336beb..963b5dd 100644
--- a/endpoint.h
+++ b/endpoint.h
@@ -13,7 +13,7 @@
/* structure of port_list */
struct port_list {
struct port_list *next;
- unsigned long port_id;
+ unsigned int port_id;
int port_type;
int early_b; /* if patterns are available */
};
@@ -22,10 +22,10 @@ struct port_list {
class Endpoint
{
public:
- Endpoint(unsigned long port_id, unsigned long join_id);
+ Endpoint(unsigned int port_id, unsigned int join_id);
~Endpoint();
class Endpoint *next; /* next in list */
- unsigned long ep_serial; /* a unique serial to identify */
+ unsigned int ep_serial; /* a unique serial to identify */
int handler(void);
/* applocaton relation */
@@ -33,11 +33,11 @@ class Endpoint
/* port relation */
struct port_list *ep_portlist; /* link to list of ports */
- struct port_list *portlist_new(unsigned long port_id, int port_type, int earlyb);
+ struct port_list *portlist_new(unsigned int port_id, int port_type, int earlyb);
void free_portlist(struct port_list *portlist);
/* join relation */
- unsigned long ep_join_id; /* link to join */
+ unsigned int ep_join_id; /* link to join */
/* if still used by threads */
int ep_use;
@@ -50,5 +50,5 @@ class Endpoint
extern class Endpoint *epoint_first;
-class Endpoint *find_epoint_id(unsigned long epoint_id);
+class Endpoint *find_epoint_id(unsigned int epoint_id);