summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/chdman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/chdman.cpp')
-rw-r--r--src/tools/chdman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/chdman.cpp b/src/tools/chdman.cpp
index addfe14a913..ee2bae66779 100644
--- a/src/tools/chdman.cpp
+++ b/src/tools/chdman.cpp
@@ -471,7 +471,7 @@ public:
// loop over channels and read the samples
int channels = MIN(m_info.channels, ARRAY_LENGTH(m_audio));
- INT16 *samplesptr[ARRAY_LENGTH(m_audio)];
+ EQUIVALENT_ARRAY(m_audio, INT16 *) samplesptr;
for (int chnum = 0; chnum < channels; chnum++)
{
// read the sound samples