mirror of
https://github.com/curl/curl.git
synced 2026-07-23 20:17:15 +03:00
changed third argument to size_t to match SCO prototype
This commit is contained in:
parent
54e46e199c
commit
6ced1ba615
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue