Geo Carncross <[EMAIL PROTECTED]> wrote:

> Complete Example of using OW_get()

does _not_ work for me with current Code from CVS!

How are the arguments of your Code supposed to be?

--cut--
[EMAIL PROTECTED]:./owfs> cc -I/opt/owfs/include/ -L/opt/owfs/lib -lowcapi 
cexample.c
bla.c: In function `main':
bla.c:12: warning: passing arg 2 of `OW_get' from incompatible pointer type
bla.c:12: warning: passing arg 3 of `OW_get' makes integer from pointer without 
a cast
--cut--

Should be a call by reference IMO, but its just "char *" in the prototype
not "char **" and int not "int *".

Looks like a broken header file. BTW, there is no OWcapi.h, I just found
owcapi.h

Sven

-- 
"We just typed make"
(Stephen Lambrigh, Director of Server Product Marketing at Informix
                                      about porting their Database to Linux)
/me is [EMAIL PROTECTED], http://sven.gegg.us/ on the Web


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to