]> granicus.if.org Git - curl/commitdiff
changed third argument to size_t to match SCO prototype
authorDaniel Stenberg <daniel@haxx.se>
Tue, 5 Dec 2000 08:04:04 +0000 (08:04 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 5 Dec 2000 08:04:04 +0000 (08:04 +0000)
lib/getpass.c
lib/getpass.h

index f5833cc3214d5fc570ee81c1d5e76b0ee1fa8c86..d9d19322ccb3e32a648f8a9dfa2ff99242a1263f 100644 (file)
@@ -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;
index 6245f22957ff5a848d8d9e15e04bb47fd1b6c3d5..ab22bb810c8fc4f8f8c5a7155fdc871fa573078b 100644 (file)
@@ -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