diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-01-30 06:21:17 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-01-30 06:21:17 +0100 |
commit | 904993766187067d0dd61c5a8c4361f1a765f075 (patch) | |
tree | b65c4e5e55c7f12fe358e3af2d51e205a6f6e65a /src | |
parent | e145c483f7f5a0c60abc789a5edc009aee5c5674 (diff) | |
download | obexd-904993766187067d0dd61c5a8c4361f1a765f075.tar.gz |
Allow compilation with -Wsign-compare
Diffstat (limited to 'src')
-rw-r--r-- | src/obex.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |