summaryrefslogtreecommitdiffstats
path: root/src/Item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Item.cpp')
-rw-r--r--src/Item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Item.cpp b/src/Item.cpp
index ebdf99ca5..36c444328 100644
--- a/src/Item.cpp
+++ b/src/Item.cpp
@@ -391,7 +391,7 @@ cItem * cItems::Get(int a_Idx)
if ((a_Idx < 0) || (a_Idx >= (int)size()))
{
LOGWARNING("cItems: Attempt to get an out-of-bounds item at index %d; there are currently " SIZE_T_FMT " items. Returning a nil.", a_Idx, size());
- return NULL;
+ return nullptr;
}
return &at(a_Idx);
}