changed third argument to size_t to match SCO prototype
This commit is contained in:
@@ -71,7 +71,7 @@
|
|||||||
# define perror(x) fprintf(stderr, "Error in: %s\n", x)
|
# define perror(x) fprintf(stderr, "Error in: %s\n", x)
|
||||||
#endif
|
#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 *infp;
|
||||||
FILE *outfp;
|
FILE *outfp;
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
/*
|
/*
|
||||||
* Returning NULL will abort the continued operation!
|
* 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
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user