I have a function declared as:

```
int myFunction(const float** ppArr, const int n, const int m);

```

and when I call it like so:

```
float** ppArr = new float*[5];
// Some initialization of ppArr

int result = myFunction(ppArr, 5, 128);  <<<< Error

```

and the error is (VS 2008 Express):

```
error C2664: 'Test_myFunction.cpp' : cannot convert parameter 1 from 'float **' to 'const float **'

```

WTF? I'm casting a float\*\* to const float\*\*. What could possibly go wrong with that ? :/

Edit: Thank you for incredibly fast responses!!! :)