use size_t instead of int in io functions

This commit is contained in:
Roberto De Ioris
2013-01-12 19:22:51 +01:00
parent 17d9b5f58d
commit 78a05ef9e8
14 changed files with 42 additions and 21 deletions
+1 -1
View File
@@ -455,7 +455,7 @@ PyObject *uwsgi_pyimport_by_filename(char *name, char *filename) {
fclose(pyfile);
}
else {
int pycontent_size = 0;
size_t pycontent_size = 0;
char *pycontent = uwsgi_open_and_read(filename, &pycontent_size, 1, NULL);
if (pycontent) {