diff options
Diffstat (limited to 'pseudo_client.c')
-rw-r--r-- | pseudo_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudo_client.c b/pseudo_client.c index 842b0c3..a599da4 100644 --- a/pseudo_client.c +++ b/pseudo_client.c @@ -843,7 +843,7 @@ pseudo_client_op(op_id_t op, int access, int fd, int dirfd, const char *path, co return 0; } snprintf(both_paths, full_len, "%.*s%c%s", - pathlen - 1 - strip_slash, + (int) (pathlen - 1 - strip_slash), path, 0, oldpath); pseudo_debug(2, "rename: %s -> %s [%d]\n", both_paths + pathlen, both_paths, (int) full_len); |