summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/GsWidget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GsWidget.cxx b/src/GsWidget.cxx
index f6c58e3..4efd3dc 100644
--- a/src/GsWidget.cxx
+++ b/src/GsWidget.cxx
@@ -256,7 +256,7 @@ GsWidget::load_page(int p) {
}
int GsWidget::fd_copy(int to, int from, size_t len) {
- size_t r;
+ ssize_t r;
char buf[1024];
int ret = 0;