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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);