Diff between 1b4bf20d6a68361f63cec4b6fdad27dbf597d053 and 50b4c3fd551099f5975c55f0cf2ed8349e02fb39
Changed Files
| File | Additions | Deletions | Status |
| obexd/src/obex.c | +1 | -1 | modified |
Full Patch
diff --git a/obexd/src/obex.c b/obexd/src/obex.c
index 53ec9b9..9ec9c5b 100644
--- a/obexd/src/obex.c
+++ b/obexd/src/obex.c
@@ -751,7 +751,7 @@ static gboolean check_put(obex_t *obex, obex_object_t *obj)
return FALSE;
}
- free = buf.f_bsize * buf.f_bavail;
+ free = (unsigned long long) buf.f_bsize * buf.f_bavail;
debug("Free space in disk: %llu", free);
if ((guint64) os->size > free) {
debug("Free disk space not available");