use size_t

This commit is contained in:
Christian Grothoff
2010-09-21 13:13:05 +00:00
parent f33a16a615
commit b4abb360a4
10 changed files with 25 additions and 20 deletions
+2 -2
View File
@@ -95,8 +95,8 @@ const char key_pem[] =
"eRJ6DxULPxABytJrYCRrNqmXi5TCiqR2mtfalEMOPxz8rUU8dYyx\n"
"-----END RSA PRIVATE KEY-----\n";
static int
file_reader (void *cls, uint64_t pos, char *buf, int max)
static ssize_t
file_reader (void *cls, uint64_t pos, char *buf, size_t max)
{
FILE *file = cls;