Re: Compiler warnings on HP Itanium

2009-04-06 Thread Daniel Stenberg
On Mon, 6 Apr 2009, Mononen Jussi wrote: > "sftp.c", line 1993: warning #2068-D: integer conversion resulted in a > change > of sign > retcode = -1; > 'retcode' is defined as 'unsigned long'. Is this intentional? No, it's a bug. I suggest this fix: --- src/sftp.c 29 Mar 2009

Compiler warnings on HP Itanium

2009-04-06 Thread Mononen Jussi
Hi, I encountered the following warnings while compiling libssh2 v1.1 on ia64-hp-hpux11.23 "sftp.c", line 1993: warning #2068-D: integer conversion resulted in a change of sign retcode = -1; ^ "sftp.c", line 2000: warning #2068-D: integer conversion result