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

fixed the win32 function to use the correct proto, as pointed out by Gisle

Vanem
parent 5e69ca0e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
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