diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-07-23 14:38:49 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-07-23 14:38:49 +0000 |
commit | 506a01d84b9577c45ec6f95be15345017c96b809 (patch) | |
tree | 6597111b01ad386a463d90d27aa7973494a394db /pjlib/src/pj/ioqueue_common_abs.c | |
parent | 0e925222f36d4f3d34a88cbe149f8f761d47ac26 (diff) |
Added 64bit Linux target (x86_64), also fixed compilation warnings when compiling for this target
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@624 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pj/ioqueue_common_abs.c')
-rw-r--r-- | pjlib/src/pj/ioqueue_common_abs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjlib/src/pj/ioqueue_common_abs.c b/pjlib/src/pj/ioqueue_common_abs.c index 5356f91d..be562fa7 100644 --- a/pjlib/src/pj/ioqueue_common_abs.c +++ b/pjlib/src/pj/ioqueue_common_abs.c @@ -208,7 +208,7 @@ void ioqueue_dispatch_write_event(pj_ioqueue_t *ioqueue, pj_ioqueue_key_t *h) */ { int value; - socklen_t vallen = sizeof(value); + int vallen = sizeof(value); int gs_rc = pj_sock_getsockopt(h->fd, SOL_SOCKET, SO_ERROR, &value, &vallen); if (gs_rc != 0) { @@ -528,7 +528,7 @@ void ioqueue_dispatch_exception_event( pj_ioqueue_t *ioqueue, pj_status_t status = -1; #if (defined(PJ_HAS_SO_ERROR) && PJ_HAS_SO_ERROR!=0) int value; - socklen_t vallen = sizeof(value); + int vallen = sizeof(value); int gs_rc = pj_sock_getsockopt(h->fd, SOL_SOCKET, SO_ERROR, &value, &vallen); if (gs_rc == 0) { |