From: <xav...@us...> - 2008-04-10 00:22:43
|
Revision: 4909 http://octave.svn.sourceforge.net/octave/?rev=4909&view=rev Author: xavier98 Date: 2008-04-09 17:22:45 -0700 (Wed, 09 Apr 2008) Log Message: ----------- Fix build under 64-bit gcc. Modified Paths: -------------- trunk/octave-forge/main/ftp/src/ftp_wrap.cpp Modified: trunk/octave-forge/main/ftp/src/ftp_wrap.cpp =================================================================== --- trunk/octave-forge/main/ftp/src/ftp_wrap.cpp 2008-04-10 00:09:35 UTC (rev 4908) +++ trunk/octave-forge/main/ftp/src/ftp_wrap.cpp 2008-04-10 00:22:45 UTC (rev 4909) @@ -851,7 +851,7 @@ struct hash_voidptr { int operator() (void *p) const { - return (int) p; + return (long) p; } }; typedef __gnu_cxx::hash_map < void *, Director *, hash_voidptr > rtdir_map; @@ -2271,8 +2271,8 @@ @end deftypefn\n\ "; const char* _wrap_new_ftp_texinfo = "-*- texinfo -*-\n\ -@deftypefn {Loadable Function} {@var{f}} ftp (@var{host})\n\ -@deftypefnx {Loadable Function} {@var{f}} ftp (@var{host}, @var{username}, @var{password})\n\ +@deftypefn {Loadable Function} {@var{f}} = ftp (@var{host})\n\ +@deftypefnx {Loadable Function} {@var{f}} = ftp (@var{host}, @var{username}, @var{password})\n\ Connect to the FTP server @var{host} with @var{username} and @var{password}.\n\ If @var{username} and @var{password} are not specified, user \"anonymous\" with no password is used.\n\ The returned FTP object @var{f} represents the established FTP connection.\n\ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |