Skip to content

Commit 6295e78

Browse files
committed
wasm: fix warning in createDirectoryWithParents for "/"
Change-Id: I6cd17ef9dd7ba26cbb8969817f2bcf83cc0ec24d Reviewed-by: Morten Johan Sørvig <[email protected]>
1 parent 3f5023a commit 6295e78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/corelib/io/qfilesystemengine_unix.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,7 @@ auto QFileSystemEngine::cloneFile(int srcfd, int dstfd, const QFileSystemMetaDat
11981198
static QSystemError createDirectoryWithParents(const QByteArray &path, mode_t mode)
11991199
{
12001200
#ifdef Q_OS_WASM
1201-
if (path == '/')
1201+
if (path == "/")
12021202
return {};
12031203
#endif
12041204

0 commit comments

Comments
 (0)