summaryrefslogtreecommitdiff
path: root/src/xcb_conn.c
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2006-11-21 20:29:34 -0800
committerJosh Triplett <josh@freedesktop.org>2006-11-21 20:29:34 -0800
commit3de6ab7b786775d9e7df1523c27cdfe3ffd3a25f (patch)
tree9b7a753f4542be9846edf3003e519541d49d213a /src/xcb_conn.c
parent7fbfebaa3fb3a5ca2d2a307a0a5c40c015e18115 (diff)
Replace uses of "long" with uint32_t, and similar; fixes 64-bit bugs
Diffstat (limited to 'src/xcb_conn.c')
-rw-r--r--src/xcb_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xcb_conn.c b/src/xcb_conn.c
index 239d71b..3b315bc 100644
--- a/src/xcb_conn.c
+++ b/src/xcb_conn.c
@@ -48,7 +48,7 @@ static const int error_connection = 1;
static int set_fd_flags(const int fd)
{
- long flags = fcntl(fd, F_GETFL, 0);
+ int flags = fcntl(fd, F_GETFL, 0);
if(flags == -1)
return 0;
flags |= O_NONBLOCK;