summaryrefslogtreecommitdiffstats
path: root/socket_server.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 /socket_server.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 'socket_server.h')
-rw-r--r--socket_server.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/socket_server.h b/socket_server.h
index 305deb5..dc18165 100644
--- a/socket_server.h
+++ b/socket_server.h
@@ -13,8 +13,8 @@
struct admin_queue {
struct admin_queue *next;
- ulong offset; /* current offset writing */
- ulong num; /* number of admin messages */
+ unsigned int offset; /* current offset writing */
+ unsigned int num; /* number of admin messages */
struct admin_message am[0];
};
@@ -24,7 +24,7 @@ struct admin_list {
int sockserial;
char remote_name[32]; /* socket is connected remote application */
struct admin_trace_req trace; /* stores trace, if detail != 0 */
- unsigned long epointid;
+ unsigned int epointid;
struct admin_queue *response;
};
@@ -34,7 +34,7 @@ void admin_cleanup(void);
int admin_handle(void);
void admin_call_response(int adminid, int message, char *connected, int cause, int location, int notify);
int admin_message_to_join(struct admin_message *msg, int remote_id);
-int admin_message_from_join(int remote_id, unsigned long ref, int message_type, union parameter *param);
+int admin_message_from_join(int remote_id, unsigned int ref, int message_type, union parameter *param);