fixed narrowing conversion error
fixed narrowing conversion error

explicit cast to int is neede here to avoid gcc c++0x compilation
error: narrowing conversion of ‘M’ from ‘vigra::MultiArrayIndex’ to ‘int’ inside { }

int overflow should not occur here because PyArray_NDIM returns
an integer which is converted to long in NumpyAnyArray::ndim()

Perhaps one should make NumpyAnyArray consitent and not use MulitArrayIndex
for dimensions but int as it is done in numpy base classes (like PyArray_NDIM).

dstoe/vigra,timoMa/vigra,xiwei-zhang/vigra,martinsch/vigra,DaveRichmond-/vigra,martinsch/vigra,cbecker/vigra,hmeine/vigra,capturePointer/vigra,kod3r/vigra,kod3r/vigra,funkey/vigra,funkey/vigra,dagophil/vigra,stuarteberg/vigra,capturePointer/vigra,funkey/vigra,dstoe/vigra,cbecker/vigra,hmeine/vigra,cha007/vigra,psteinb/vigra,ThomasWalter/vigra,DaveRichmond-/vigra,dagophil/vigra,cbecker/vigra,dagophil/vigra,kod3r/vigra,stuarteberg/vigra,hmeine/vigra,psteinb/vigra,funkey/vigra,stuarteberg/vigra,capturePointer/vigra,psteinb/vigra,xiwei-zhang/vigra,dstoe/vigra,timoMa/vigra,dstoe/vigra,martinsch/vigra,stuarteberg/vigra,dagophil/vigra,martinsch/vigra,dstoe/vigra,ThomasWalter/vigra,mmuellner/vigra,capturePointer/vigra,ThomasWalter/vigra,martinsch/vigra,cha007/vigra,DaveRichmond-/vigra,cbecker/vigra,kod3r/vigra,capturePointer/vigra,xiwei-zhang/vigra,DaveRichmond-/vigra,cha007/vigra,funkey/vigra,hmeine/vigra,timoMa/vigra,ThomasWalter/vigra,funkey/vigra,kod3r/vigra,cha007/vigra,timoMa/vigra,dstoe/vigra,ThomasWalter/vigra,psteinb/vigra,mmuellner/vigra,mmuellner/vigra,capturePointer/vigra,timoMa/vigra,timoMa/vigra,hmeine/vigra,mmuellner/vigra,funkey/vigra,psteinb/vigra,DaveRichmond-/vigra,cha007/vigra,mmuellner/vigra,stuarteberg/vigra,kod3r/vigra,dstoe/vigra,ThomasWalter/vigra,dagophil/vigra,cha007/vigra,cbecker/vigra,psteinb/vigra,stuarteberg/vigra,dagophil/vigra,hmeine/vigra,xiwei-zhang/vigra,mmuellner/vigra,xiwei-zhang/vigra,cha007/vigra,cbecker/vigra,DaveRichmond-/vigra,kod3r/vigra,ThomasWalter/vigra,stuarteberg/vigra,capturePointer/vigra,martinsch/vigra,DaveRichmond-/vigra,dagophil/vigra,timoMa/vigra,mmuellner/vigra,xiwei-zhang/vigra,psteinb/vigra,xiwei-zhang/vigra,hmeine/vigra