aboutsummaryrefslogtreecommitdiffstats
path: root/epan/filesystem.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/filesystem.c')
-rw-r--r--epan/filesystem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/filesystem.c b/epan/filesystem.c
index fbb7bd0c24..db48f0962b 100644
--- a/epan/filesystem.c
+++ b/epan/filesystem.c
@@ -1794,7 +1794,8 @@ files_identical(const char *fname1, const char *fname2)
gboolean
copy_file_binary_mode(const char *from_filename, const char *to_filename)
{
- int from_fd, to_fd, nread, nwritten, err;
+ int from_fd, to_fd, err;
+ ssize_t nread, nwritten;
guint8 *pd = NULL;
/* Copy the raw bytes of the file. */