From 1168785a62ffaaeae40e437b5ef30e13d8ae1f20 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Tue, 7 Mar 2023 09:36:07 -0600 Subject: [PATCH] libsupport: Fix build on gcc 11.2 --- libs/libsupport/KeyMap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libsupport/KeyMap.h b/libs/libsupport/KeyMap.h index c3afe67..1b1847f 100644 --- a/libs/libsupport/KeyMap.h +++ b/libs/libsupport/KeyMap.h @@ -64,7 +64,7 @@ KeyMap::ValueFor(KEY k, bool* found) const } if (i == fMap.end()) - return NULL; + return 0; return i->second; }