summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-30 06:21:17 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-30 06:21:17 +0100
commit904993766187067d0dd61c5a8c4361f1a765f075 (patch)
treeb65c4e5e55c7f12fe358e3af2d51e205a6f6e65a /src
parente145c483f7f5a0c60abc789a5edc009aee5c5674 (diff)
downloadobexd-904993766187067d0dd61c5a8c4361f1a765f075.tar.gz
Allow compilation with -Wsign-compare
Diffstat (limited to 'src')
-rw-r--r--src/obex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/obex.c b/src/obex.c
index 0a0ce24..b62066c 100644
--- a/src/obex.c
+++ b/src/obex.c
@@ -738,7 +738,7 @@ static gboolean check_put(obex_t *obex, obex_object_t *obj)
free = buf.f_bsize * buf.f_bavail;
debug("Free space in disk: %lu", free);
- if (os->size > free) {
+ if ((guint64) os->size > free) {
debug("Free disk space not available");
OBEX_ObjectSetRsp(obj, OBEX_RSP_FORBIDDEN, OBEX_RSP_FORBIDDEN);
return FALSE;