From b6514ceb72252407be1ffe0a4c21f569a10f8eda Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 5 Dec 2015 17:51:42 +0100 Subject: [PATCH] fix for VS builds, due to FPTR conversion (nw) --- src/lib/util/tagmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/util/tagmap.h b/src/lib/util/tagmap.h index 75a67ac67ef..23bcdd30470 100644 --- a/src/lib/util/tagmap.h +++ b/src/lib/util/tagmap.h @@ -142,7 +142,7 @@ public: for (entry_t *entry = m_table[fullhash % ARRAY_LENGTH(m_table)]; entry != nullptr; entry = entry->next()) if (entry->fullhash() == fullhash && entry->tag() == tag) return entry->object(); - return _ElementType(nullptr); + return _ElementType(NULL); } // find by tag without checking anything but the hash