diff options
author | Jörg Mayer <jmayer@loplof.de> | 2003-03-10 02:06:33 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2003-03-10 02:06:33 +0000 |
commit | 9281a04064720f2d9edc581a6561ca621b13da23 (patch) | |
tree | 56248b6d86fe23aaa713869db0ed67f682825bb5 /packet-rpc.c | |
parent | dc01cb646b3dbcbb7755b547ec99e9d95ffded1b (diff) | |
download | wireshark-9281a04064720f2d9edc581a6561ca621b13da23.tar.gz wireshark-9281a04064720f2d9edc581a6561ca621b13da23.tar.bz2 wireshark-9281a04064720f2d9edc581a6561ca621b13da23.zip |
Pointer <--> int converions cause warnings on ia64.
Modified a patch originally contained in the SuSE distro
to do the conversions via glib macros.
svn path=/trunk/; revision=7330
Diffstat (limited to 'packet-rpc.c')
-rw-r--r-- | packet-rpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-rpc.c b/packet-rpc.c index 6523cd63a3..3b38f5297e 100644 --- a/packet-rpc.c +++ b/packet-rpc.c @@ -2,7 +2,7 @@ * Routines for rpc dissection * Copyright 1999, Uwe Girlich <Uwe.Girlich@philosys.de> * - * $Id: packet-rpc.c,v 1.114 2002/12/31 07:49:14 guy Exp $ + * $Id: packet-rpc.c,v 1.115 2003/03/10 02:06:31 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -433,7 +433,7 @@ rpc_call_hash(gconstpointer k) { const rpc_call_info_key* key = (const rpc_call_info_key*) k; - return key->xid + (guint32)(key->conversation); + return key->xid + GPOINTER_TO_UINT(key->conversation); } |