It's a long time ago I did C programming and I never liked the **
declaration types. Libfprint seems to have many and I'm not really happy
with it, anyhow, I'll learn again (or anew J).

 

This is what I declared

 

struct fp_image **image;

 

And this is what I call:

 

retval=fp_dev_img_capture(device,0,image);

 

And this is the definition: 

 


int fp_dev_img_capture 

(

struct fp_dev * 

dev, 

                
int 

unconditional, 

                
struct fp_img ** 

image

 

        
)

                        

 

And this is the error I get:

 

devicehandling.c:58: warning: passing argument 3 of 'fp_dev_img_capture'
from incompatible pointer type

/usr/include/libfprint/fprint.h:95: note: expected 'struct fp_img **' but
argument is of type 'struct fp_image **'

 

Until today compilers were always right with their messages. Where am I
going wrong?

 

Active Discovery Designs

Dutch quality web development at affordable prices

 

_______________________________________________
fprint mailing list
[email protected]
http://lists.reactivated.net/mailman/listinfo/fprint

Reply via email to