aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2019-06-08 17:22:54 +0200
committerShauren <shauren.trinity@gmail.com>2019-06-08 17:22:54 +0200
commit3bf084c70eaf6ec2f0b7bed2467cbbe3a75f50cc (patch)
tree1fb43b2ba2e59539fe31a6746e90046659a4ac6f
parent0857c033e9d01d53a912f253afbef0d070229542 (diff)
Warning fix
-rw-r--r--dep/CascLib/src/CascDecrypt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/CascLib/src/CascDecrypt.cpp b/dep/CascLib/src/CascDecrypt.cpp
index ec29bb4cb07..043d8effa66 100644
--- a/dep/CascLib/src/CascDecrypt.cpp
+++ b/dep/CascLib/src/CascDecrypt.cpp
@@ -525,7 +525,7 @@ LPBYTE WINAPI CascFindEncryptionKey(HANDLE hStorage, ULONGLONG KeyName)
if (hs == NULL)
{
SetLastError(ERROR_INVALID_HANDLE);
- return false;
+ return NULL;
}
return CascFindKey(hs, KeyName);