summaryrefslogtreecommitdiffstats
path: root/src/iso.c
diff options
context:
space:
mode:
authorGravatar aeb 2000-09-10 22:18:49 +0000
committerGravatar aeb 2000-09-10 22:18:49 +0000
commitd93e0e84c97cebac079f70fff8dc89159f3b98dd (patch)
tree7f86d205971f5cbcf2c85511493b3769a143190e /src/iso.c
parentAdded control files for Debian packages. (diff)
Work around compiler warnings for int/ptr casts.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@38 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'src/iso.c')
-rw-r--r--src/iso.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iso.c b/src/iso.c
index 7df6ec0..8d69b57 100644
--- a/src/iso.c
+++ b/src/iso.c
@@ -28,8 +28,8 @@ static int do_iso_listen(struct raw1394_handle *handle, int channel)
req->type = RAW1394_REQ_ISO_LISTEN;
req->generation = handle->generation;
req->misc = channel;
- req->tag = (__u64)&rh;
- req->recvb = (__u64)handle->buffer;
+ req->tag = ptr2int(&rh);
+ req->recvb = ptr2int(handle->buffer);
req->length = HBUF_SIZE;
err = write(handle->fd, req, sizeof(*req));