diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2023-03-25 23:40:41 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2023-03-28 05:33:05 +0200 |
commit | 41201f9d655ace09fdadf25626d5e728379939e7 (patch) | |
tree | 05f4342cc62b9ea383f293e2f623e1a748113a57 | |
parent | 5a182d35e2e10076fabaebc128f5d270d4fac788 (diff) |
QStorageInfo/Unix: fix narrowing conversion warning
"blocksize" is assigned the value of statvfs::f_bsize, the latter is
unsigned long.
Change-Id: I55453b861d0c127d1e8d8a367347de926a7cbbca
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r-- | src/corelib/io/qstorageinfo_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qstorageinfo_p.h b/src/corelib/io/qstorageinfo_p.h index aba8e32029..af323b4ddc 100644 --- a/src/corelib/io/qstorageinfo_p.h +++ b/src/corelib/io/qstorageinfo_p.h @@ -58,7 +58,7 @@ public: qint64 bytesTotal; qint64 bytesFree; qint64 bytesAvailable; - int blockSize; + ulong blockSize; bool readOnly; bool ready; |