Menu

#3 missing argument

v1.0 (example)
open
nobody
None
5
2013-06-21
2013-06-21
grumpf_
No

cc -Wall -g -I ../include -c srv.c
srv.c: In function ‘sp_srv_create’:
srv.c:73: warning: assignment from incompatible pointer type

from spfs.h
...
Spfcall (attach)(Spfid fid, Spfid afid, Spstr uname,
Spstr
aname, u32 n_uname);

...
srv.c
Spfcall sp_default_attach(Spfid fid, Spfid afid, Spstr uname, Spstr *aname);

you are missing one argument

Discussion


Log in to post a comment.