diff options
| author | 2000-09-10 22:18:49 +0000 | |
|---|---|---|
| committer | 2000-09-10 22:18:49 +0000 | |
| commit | d93e0e84c97cebac079f70fff8dc89159f3b98dd (patch) | |
| tree | 7f86d205971f5cbcf2c85511493b3769a143190e /src/fcp.c | |
| parent | Added 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/fcp.c')
| -rw-r--r-- | src/fcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,8 +27,8 @@ static int do_fcp_listen(struct raw1394_handle *handle, int startstop) req->type = RAW1394_REQ_FCP_LISTEN; req->generation = handle->generation; req->misc = startstop; - req->tag = (__u64)&rh; - req->recvb = (__u64)handle->buffer; + req->tag = ptr2int(&rh); + req->recvb = ptr2int(handle->buffer); req->length = 512; err = write(handle->fd, req, sizeof(*req)); |
