diff options
author | Roland McGrath <roland@gnu.org> | 2002-05-08 10:05:17 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-05-08 10:05:17 +0000 |
commit | 87a5fd33fef839b0e1ee0ee250be56f589018ad7 (patch) | |
tree | b6fe95f8ae3594536532ba8f8f5a3e10dc598895 /ftpfs/ftpfs.c | |
parent | 14b777e1d24ebb4220dfc498cb53725a12fbc62b (diff) | |
download | hurd-87a5fd33fef839b0e1ee0ee250be56f589018ad7.tar.gz hurd-87a5fd33fef839b0e1ee0ee250be56f589018ad7.tar.bz2 hurd-87a5fd33fef839b0e1ee0ee250be56f589018ad7.zip |
2002-05-08 Roland McGrath <roland@frob.com>
* conn.c (ftpfs_get_ftp_conn): Cast to uintptr_t before void *.
* ftpfs.c (cntl_debug): Vice versa.
Diffstat (limited to 'ftpfs/ftpfs.c')
-rw-r--r-- | ftpfs/ftpfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ftpfs/ftpfs.c b/ftpfs/ftpfs.c index 86fea34c..9ff8ef46 100644 --- a/ftpfs/ftpfs.c +++ b/ftpfs/ftpfs.c @@ -87,7 +87,8 @@ cntl_debug (struct ftp_conn *conn, int type, const char *txt) mutex_lock (&debug_lock); if (debug_stream) { - fprintf (debug_stream, "%u.%s%s\n", (unsigned)conn->hook, type_str, txt); + fprintf (debug_stream, "%u.%s%s\n", + (unsigned)(uintptr_t)conn->hook, type_str, txt); fflush (debug_stream); } mutex_unlock (&debug_lock); |