summaryrefslogtreecommitdiffstats
path: root/src/iso.c
diff options
context:
space:
mode:
authorGravatar aeb 2000-05-28 21:00:56 +0000
committerGravatar aeb 2000-05-28 21:00:56 +0000
commit8942a29ac1c6b575e0eb93d903097be60c2276e2 (patch)
treefba2bad931759dd0d79217041e8de955ba0cfdb3 /src/iso.c
parentFixed missing setting of ext code in raw1394_start_lock() (diff)
Added support for environments with 64 bit kernel and 32 bit userland.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@26 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'src/iso.c')
-rw-r--r--src/iso.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/iso.c b/src/iso.c
index 21abeae..96ecd3c 100644
--- a/src/iso.c
+++ b/src/iso.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <errno.h>
#include <unistd.h>
@@ -19,7 +20,7 @@ static int do_iso_listen(struct raw1394_handle *handle, int channel)
req->generation = handle->generation;
req->misc = channel;
req->tag = (unsigned long)&rh;
- req->recvb = handle->buffer;
+ req->recvb = (kptr_t)handle->buffer;
req->length = HBUF_SIZE;
err = write(handle->fd, req, sizeof(*req));