summaryrefslogtreecommitdiff
path: root/src/md
diff options
context:
space:
mode:
Diffstat (limited to 'src/md')
-rw-r--r--src/md/compiler/importhelper.cpp2
-rw-r--r--src/md/tables/table.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/md/compiler/importhelper.cpp b/src/md/compiler/importhelper.cpp
index 4ae87baf40..75764fec40 100644
--- a/src/md/compiler/importhelper.cpp
+++ b/src/md/compiler/importhelper.cpp
@@ -3391,7 +3391,7 @@ HRESULT ImportHelper::CompareAssemblyRefToAssembly( // S_OK, S_FALSE or error
if (IsAfPublicKey(dwFlags1) &&
(cbPublicKeyOrToken1 != cbPublicKey2 ||
memcmp(pbPublicKeyOrToken1, pbPublicKey2, cbPublicKeyOrToken1)))
- return FALSE;
+ return S_FALSE;
// Otherwise we need to compress the def public key into a token.
if (!StrongNameTokenFromPublicKey((BYTE*)pbPublicKey2,
diff --git a/src/md/tables/table.h b/src/md/tables/table.h
index f0b40f285b..99b74a85e5 100644
--- a/src/md/tables/table.h
+++ b/src/md/tables/table.h
@@ -208,7 +208,7 @@ public:
__checkReturn
inline HRESULT AddRecord(
- __out_bcount(m_cbRecordSize) BYTE **ppbRecord,
+ __out BYTE **ppbRecord,
__out UINT32 *pnIndex)
{
return m_RecordStorage.AddRecord(ppbRecord, pnIndex);