diff options
author | fche <fche> | 2007-09-25 19:22:29 +0000 |
---|---|---|
committer | fche <fche> | 2007-09-25 19:22:29 +0000 |
commit | 14132a5eb855778cfe855256ff024b05a01cc9fb (patch) | |
tree | 271763ff8a8cac8bcf659269a14fbe3467b681bf /tapset/nfs_proc.stp | |
parent | 67aee26b72a2659b19db9a27a062a956c6d5d7a0 (diff) | |
download | systemtap-steved-14132a5eb855778cfe855256ff024b05a01cc9fb.tar.gz systemtap-steved-14132a5eb855778cfe855256ff024b05a01cc9fb.tar.xz systemtap-steved-14132a5eb855778cfe855256ff024b05a01cc9fb.zip |
* build fix on rhel4
2007-09-25 Frank Ch. Eigler <fche@elastic.org>
* socket.stp (__i2n_ip_proto): Add a cast for 32-bit compatibility.
Diffstat (limited to 'tapset/nfs_proc.stp')
-rw-r--r-- | tapset/nfs_proc.stp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset/nfs_proc.stp b/tapset/nfs_proc.stp index dd46544f..3ccd016b 100644 --- a/tapset/nfs_proc.stp +++ b/tapset/nfs_proc.stp @@ -41,7 +41,7 @@ */ function __i2n_ip_proto :long(dir:long,index:long) %{ /* pure */ int index = (int) (THIS->index); - struct inode * dir = (struct inode *)(THIS->dir); + struct inode * dir = (struct inode *)(uintptr_t)(THIS->dir); struct rpc_clnt * clnt = NFS_CLIENT(dir); /* FIXME: deref hazard! */ struct rpc_xprt * cl_xprt = kread(&(clnt->cl_xprt)); /* sockaddr_storage is used since 2.6.19. Need cast*/ |