projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated doc/common.
[yaz-moved-to-github.git]
/
src
/
seshigh.c
diff --git
a/src/seshigh.c
b/src/seshigh.c
index
97c9e04
..
5528325
100644
(file)
--- a/
src/seshigh.c
+++ b/
src/seshigh.c
@@
-1657,7
+1657,7
@@
static int check_path(const char *path)
return 1;
}
return 1;
}
-static char *read_file(const char *fname, ODR o, int *sz)
+static char *read_file(const char *fname, ODR o, size_t *sz)
{
char *buf;
FILE *inf = fopen(fname, "rb");
{
char *buf;
FILE *inf = fopen(fname, "rb");
@@
-1710,7
+1710,7
@@
static void process_http_request(association *assoc, request *req)
}
else
{
}
else
{
- int content_size = 0;
+ size_t content_size = 0;
char *content_buf = read_file(hreq->path+1, o, &content_size);
if (!content_buf)
{
char *content_buf = read_file(hreq->path+1, o, &content_size);
if (!content_buf)
{