diff options
Diffstat (limited to 'lib/Handle.cc')
-rw-r--r-- | lib/Handle.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc index 4585b61..010fce9 100644 --- a/lib/Handle.cc +++ b/lib/Handle.cc @@ -54,7 +54,7 @@ ssize_t Handle::write(const void *buf, size_t count) throw (GeneralException) { } else { throw IOException(GetName(), IO_WRITE, count); } - } else if (r != count) { + } else if (((size_t) r) != count) { full = done = false; ((char *)buf) += r; tr += r; |