mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
fixed the win32 function to use the correct proto, as pointed out by Gisle
Vanem
This commit is contained in:
parent
5e69ca0ebd
commit
7f0ec86769
@ -197,7 +197,7 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
||||
#else /* WIN32 */
|
||||
#include <stdio.h>
|
||||
#include <conio.h>
|
||||
char *getpass_r(const char *prompt, char *buffer, int buflen)
|
||||
char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
||||
{
|
||||
int i;
|
||||
printf("%s", prompt);
|
||||
|
Loading…
Reference in New Issue
Block a user