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

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Fri Apr 4 21:00:40 GMT 2003


Sorry Richard,
I know - I've replaced my build machine with something a bit faster, and I
haven't
loaded the gcc tools yet, and HP-UX diff doesn't have a -u format.
Next time....
Thanks for handling it anyway!
Don

> -----Original Message-----
> From: Richard Sharpe [mailto:rsharpe at richardsharpe.com]
> Sent: Friday, April 04, 2003 16:35
> To: MCCALL,DON (HP-USA,ex1)
> Cc: 'samba-technical at lists.samba.org'
> Subject: Re: (int) casting needed in libsmbclient.c on 3.0alpha23
> 
> 
> 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