diff options
author | Sascha Schumann <sas@php.net> | 2001-05-13 07:37:28 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2001-05-13 07:37:28 +0000 |
commit | 90c2979144283da432f02e371b4b550fea5a7518 (patch) | |
tree | 7b27aea5e0f8b52155ae8f593bc0f3255b821785 /ext/session/mod_files.c | |
parent | 4117324acf328a40aecb8d32400f6e828cade272 (diff) | |
download | php-git-90c2979144283da432f02e371b4b550fea5a7518.tar.gz |
Nuke some warnings.
Diffstat (limited to 'ext/session/mod_files.c')
-rw-r--r-- | ext/session/mod_files.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c index 8757715c33..bf0c74338d 100644 --- a/ext/session/mod_files.c +++ b/ext/session/mod_files.c @@ -48,7 +48,7 @@ typedef struct { char *lastkey; char *basedir; size_t basedir_len; - int dirdepth; + size_t dirdepth; size_t st_size; } ps_files; @@ -220,7 +220,7 @@ PS_OPEN_FUNC(files) data->fd = -1; if ((p = strchr(save_path, ';'))) { - data->dirdepth = strtol(save_path, NULL, 10); + data->dirdepth = (size_t) strtol(save_path, NULL, 10); save_path = p + 1; } data->basedir_len = strlen(save_path); |