summaryrefslogtreecommitdiff
path: root/ftpfs/ftpfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'ftpfs/ftpfs.c')
-rw-r--r--ftpfs/ftpfs.c3
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);