russo30
29-01-2007, 15:43
Ciao a tutti
Devo passare una matrice ad una funzione, ma ottengo un errore che non capisco.. ecco il codice:
chiamata nel main : unsigned char ImageDataMatrice[480][640];
VettoreMatrice(ImageDataVettore,ImageDataMatrice);
prototipo funzione: void VettoreMatrice(unsigned char *Vettore, unsigned char **Matrice)
L'errore che ottengo (Che in realtà è un warning, ma se faccio partire il programma questo non viene eseguito e viene chiuso in maniera anormale) è sul passaggio del secondo argomento:
[Warning] passing arg 2 of `VettoreMatrice' from incompatible pointer type
Quale è il problema????
grazie
Devo passare una matrice ad una funzione, ma ottengo un errore che non capisco.. ecco il codice:
chiamata nel main : unsigned char ImageDataMatrice[480][640];
VettoreMatrice(ImageDataVettore,ImageDataMatrice);
prototipo funzione: void VettoreMatrice(unsigned char *Vettore, unsigned char **Matrice)
L'errore che ottengo (Che in realtà è un warning, ma se faccio partire il programma questo non viene eseguito e viene chiuso in maniera anormale) è sul passaggio del secondo argomento:
[Warning] passing arg 2 of `VettoreMatrice' from incompatible pointer type
Quale è il problema????
grazie