aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/sendf.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sendf.h b/lib/sendf.h
index 26af533e4..ee1e628c1 100644
--- a/lib/sendf.h
+++ b/lib/sendf.h
@@ -23,17 +23,17 @@
* $Id$
*****************************************************************************/
-size_t Curl_sendf(int fd, struct connectdata *, char *fmt, ...);
-void Curl_infof(struct UrlData *, char *fmt, ...);
-void Curl_failf(struct UrlData *, char *fmt, ...);
+size_t Curl_sendf(int fd, struct connectdata *, const char *fmt, ...);
+void Curl_infof(struct UrlData *, const char *fmt, ...);
+void Curl_failf(struct UrlData *, const char *fmt, ...);
#define infof Curl_infof
#define failf Curl_failf
struct send_buffer {
char *buffer;
- long size_max;
- long size_used;
+ size_t size_max;
+ size_t size_used;
};
typedef struct send_buffer send_buffer;