diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-01-30 22:37:50 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-01-30 22:37:50 +0000 |
commit | 242a9a47c7771febfd92d6e61b0c897d3060f12f (patch) | |
tree | 63562a2d2d0d5e05ffbb9e951dbd61758b20386e /ext/session | |
parent | 302f97abbc31c539ca6d0df04d64a1e0e2d77361 (diff) | |
download | php-git-242a9a47c7771febfd92d6e61b0c897d3060f12f.tar.gz |
Fix compiler warning.
Diffstat (limited to 'ext/session')
-rw-r--r-- | ext/session/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index 0b9dcf7eb4..6ea35e2821 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -678,7 +678,7 @@ char *php_session_create_id(PS_CREATE_SID_ARGS) php_error_docref(NULL TSRMLS_CC, E_WARNING, "The ini setting hash_bits_per_character is out of range (should be 4, 5, or 6) - using 4 for now"); } - j = bin_to_readable(digest, digest_len, buf, PS(hash_bits_per_character)) - buf; + j = (int) (bin_to_readable(digest, digest_len, buf, PS(hash_bits_per_character)) - buf); if (newlen) *newlen = j; |