summaryrefslogtreecommitdiff
path: root/lib/Handle.cc
diff options
context:
space:
mode:
authorPixel <Pixel>2001-12-10 11:39:54 +0000
committerPixel <Pixel>2001-12-10 11:39:54 +0000
commit1efb1f34106be8b383f1edea9bd0fd608ac7faeb (patch)
treee0002e157e4320a9cebf3c96b204a42b5dfa1cd9 /lib/Handle.cc
parenta83a43e57be59ed407d98f465d02953af5ae0160 (diff)
Supressing some warnings...
Diffstat (limited to 'lib/Handle.cc')
-rw-r--r--lib/Handle.cc2
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;