From 160bff7d796a60d9d29de9694c40764865777be3 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Mon, 21 May 2012 12:39:15 +0000 Subject: [PATCH] In cases of debug optimized build tools return error on this, code however looks good but still there is special case with warning (nw) --- src/emu/device.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emu/device.h b/src/emu/device.h index a1a4cafec77..ad22bd601e8 100644 --- a/src/emu/device.h +++ b/src/emu/device.h @@ -631,8 +631,8 @@ public: protected: // internal state - shared_ptr_type *m_array[_Count]; - astring m_tag[_Count]; + shared_ptr_type *m_array[_Count+1]; + astring m_tag[_Count+1]; }; // optional shared pointer array finder