(int) casting needed in libsmbclient.c on 3.0alpha23

Richard Sharpe rsharpe at richardsharpe.com
Fri Apr 4 21:35:01 GMT 2003


On Fri, 4 Apr 2003, MCCALL,DON (HP-USA,ex1) wrote:

> # diff libsmbclient.c libsmbclient.original.c
> 2252c2252
> <       if ((int)(fid1 = c_file->open(c_file, fname, O_RDONLY, 0666)) < 0)
> {
> ---
> >       if ((fid1 = c_file->open(c_file, fname, O_RDONLY, 0666)) < 0)  {
> 2261c2261
> <       if ((int)(fid2 = c_print->open_print_job(c_print, printq)) < 0) {
> ---
> >       if ((fid2 = c_print->open_print_job(c_print, printq)) < 0) {

While I can handle what you have sent, it would have been far nicer if it 
was a diff -u patch.

Thanks for the info, in any case.

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com



More information about the samba-technical mailing list