Greetings:
I am trying to get glMultiDrawElements() to work. Here's the relevant (I think) part of the program written using MS VC++ 2010 on Windows 7.

...
static GLsizei count[] = {10, 3};
static GLvoid * indices[2] = {stripIndices, triangleIndices};
...
glMultiDrawElements(GL_TRIANGLE_STRIP, count, GL_UNSIGNED_BYTE, indices, 2);
...


VC++ shows no warning (red underlines) but compiling gives the following two errors for the glMultiDrawElements() line:

error C2664: cannot convert parameter 4 from 'GLvoid *[2]' to 'const GLvoid **'
error C2664: cannot convert parameter 2 from 'int' to 'GLsizei *'

Which I can't understand as the definition from the 3.3 ref pages is:
void glMultiDrawElements(GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount);

indices and count seem to be defined correctly in the program (in fact, that part of the program is copied from the red book ed 7, page 81).

Any idea on what's wrong would be highly appreciated.
Thanks in advance,
Sam