summaryrefslogtreecommitdiffstats
path: root/lcradmin.c
diff options
context:
space:
mode:
authorSuper User2008-06-14 08:34:50 +0200
committerSuper User2008-06-14 08:34:50 +0200
commitd2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4 (patch)
tree8c9e9504a275a43d5a8785dcca7badf28ada5999 /lcradmin.c
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 'lcradmin.c')
-rw-r--r--lcradmin.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lcradmin.c b/lcradmin.c
index 188d718..fbd0015 100644
--- a/lcradmin.c
+++ b/lcradmin.c
@@ -76,7 +76,7 @@ char red = 1,
#define LOGLINES 128
char logline[LOGLINES][512];
-unsigned long logcur = 0;
+unsigned int logcur = 0;
int logfh = -1;
char logfile[128];
@@ -209,7 +209,7 @@ int debug_port(struct admin_message *msg, struct admin_message *m, int line, int
}
int debug_epoint(struct admin_message *msg, struct admin_message *m, int line, int i, int vline)
{
- unsigned long epoint = m[i].u.e.serial;
+ unsigned int epoint = m[i].u.e.serial;
char buffer[256];
unsigned char c;
int j, jj;
@@ -392,7 +392,7 @@ int debug_epoint(struct admin_message *msg, struct admin_message *m, int line, i
}
int debug_join(struct admin_message *msg, struct admin_message *m, int line, int i)
{
- unsigned long join = m[i].u.j.serial;
+ unsigned int join = m[i].u.j.serial;
char buffer[256];
int j, jj;
@@ -457,7 +457,7 @@ char *admin_state(int sock, char *argv[])
*p;
int line, offset = 0, hoffset = 0;
int i, ii, j, jj, k;
- unsigned long l, ll;
+ unsigned int l, ll;
int num;
int len;
int off;
@@ -1346,7 +1346,7 @@ char *admin_testcall(int sock, int argc, char *argv[])
int stimeout = 0, ptimeout = 0, atimeout = 0, ctimeout = 0;
int l;
double timer = 0, now_d;
- unsigned long on = 1;
+ unsigned int on = 1;
struct timeval now_tv;
struct timezone now_tz;