Skip to content
Snippets Groups Projects
Commit 6ced1ba6 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

changed third argument to size_t to match SCO prototype

parent 54e46e19
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment