Commit 6ced1ba6 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

changed third argument to size_t to match SCO prototype

parent 54e46e19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@
#  define perror(x) fprintf(stderr, "Error in: %s\n", x)
#endif

char *getpass_r(const char *prompt, char *buffer, int buflen)
char *getpass_r(const char *prompt, char *buffer, size_t buflen)
{
  FILE *infp;
  FILE *outfp;
+1 −1
Original line number Diff line number Diff line
@@ -3,6 +3,6 @@
/*
 * Returning NULL will abort the continued operation!
 */
char* getpass_r(char *prompt, char* buffer, int buflen );
char* getpass_r(char *prompt, char* buffer, size_t buflen );

#endif