mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-04 07:45:56 +00:00
More type issues/warnings
This commit is contained in:
1 parent
c36d4859d7
commit
7e7e87600e
2 files changed
+5
-5
No files matched your search
@@ -37,7 +37,7 @@ int xs_parse_df(gint64 *out_total, gint64 *out_free)
|
||||
long long int avail, total;
|
||||
|
||||
/* Filesystem 1024-blocks Used Available Capacity Mounted-on */
|
||||
if (sscanf (buffer, "%*s %lld %*lld %lld %*s %*s", &total, &avail) == 2)
|
||||
if (sscanf (buffer, "%*s %lld %*s %lld %*s %*s", &total, &avail) == 2)
|
||||
{
|
||||
*out_total += total;
|
||||
*out_free += avail;
|
||||
|
||||
Reference in new issue
Block a user