summaryrefslogtreecommitdiffstats
path: root/join.cpp
diff options
context:
space:
mode:
authorSuper User2008-06-14 08:34:50 +0200
committerSuper User2008-06-14 08:34:50 +0200
commitd2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4 (patch)
tree8c9e9504a275a43d5a8785dcca7badf28ada5999 /join.cpp
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 'join.cpp')
-rw-r--r--join.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/join.cpp b/join.cpp
index c41ae4b..b3f8843 100644
--- a/join.cpp
+++ b/join.cpp
@@ -12,9 +12,9 @@
#include "main.h"
//#define __u8 unsigned char
//#define __u16 unsigned short
-//#define __u32 unsigned long
+//#define __u32 unsigned int
-unsigned long join_serial = 1; /* must be 1, because 0== no join */
+unsigned int join_serial = 1; /* must be 1, because 0== no join */
//JOIN_STATES
@@ -23,7 +23,7 @@ class Join *join_first = NULL;
/*
* find the join with join_id
*/
-class Join *find_join_id(unsigned long join_id)
+class Join *find_join_id(unsigned int join_id)
{
class Join *join = join_first;
@@ -88,7 +88,7 @@ Join::~Join()
/* epoint sends a message to a join
*
*/
-void Join::message_epoint(unsigned long epoint_id, int message_type, union parameter *param)
+void Join::message_epoint(unsigned int epoint_id, int message_type, union parameter *param)
{
}