summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Levenets <olevenets2@gmail.com>2018-06-13 19:23:21 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2018-06-13 19:23:21 (GMT)
commitd8ba83c02e87bfbdfedeb3ca101d1e001d601e38 (patch)
treeadf5288037af3c532cada9f07666be4d0b1f3f73
parent479c9535917ab93a784dc70915edfffdf4d14fd0 (diff)
downloadkrusader-d8ba83c0.zip
krusader-d8ba83c0.tar.gz
Fix FTBFS with clang
Signed-off-by: Oleg Levenets <olevenets2@gmail.com>
-rw-r--r--krArc/krarc.cpp2
-rw-r--r--krusader/VFS/krarchandler.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/krArc/krarc.cpp b/krArc/krarc.cpp
index 5c4ea3f..e94c135 100644
--- a/krArc/krarc.cpp
+++ b/krArc/krarc.cpp
@@ -1422,7 +1422,7 @@ TQString tdeio_krarcProtocol::detectArchive( bool &encrypted, TQString fileName
{"gzip", 0, "\x1f\x8b"},
{"deb", 0, "!<arch>\ndebian-binary " },
{"7z", 0, "7z\xbc\xaf\x27\x1c" },
- {"xz", 0, "\xfd7zXZ\x00"} };
+ {"xz", 0, "\xfd" "7zXZ\x00"} };
static int autoDetectElems = sizeof( autoDetectParams ) / sizeof( AutoDetectParams );
encrypted = false;
diff --git a/krusader/VFS/krarchandler.cpp b/krusader/VFS/krarchandler.cpp
index 51a0b79..0656744 100644
--- a/krusader/VFS/krarchandler.cpp
+++ b/krusader/VFS/krarchandler.cpp
@@ -651,7 +651,7 @@ TQString KRarcHandler::detectArchive( bool &encrypted, TQString fileName, bool c
{"gzip", 0, "\x1f\x8b"},
{"deb", 0, "!<arch>\ndebian-binary " },
{"7z", 0, "7z\xbc\xaf\x27\x1c" },
- {"xz", 0, "\xfd7zXZ\x00" } };
+ {"xz", 0, "\xfd" "7zXZ\x00" } };
static int autoDetectElems = sizeof( autoDetectParams ) / sizeof( AutoDetectParams );
encrypted = false;