From 41201f9d655ace09fdadf25626d5e728379939e7 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Sat, 25 Mar 2023 23:40:41 +0200 Subject: [PATCH] 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 --- src/corelib/io/qstorageinfo_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;