iliaa           Thu Jan 30 17:37:51 2003 EDT

  Modified files:              
    /php4/ext/session   session.c 
  Log:
  Fix compiler warning.
  
  
Index: php4/ext/session/session.c
diff -u php4/ext/session/session.c:1.349 php4/ext/session/session.c:1.350
--- php4/ext/session/session.c:1.349    Fri Jan 24 18:57:32 2003
+++ php4/ext/session/session.c  Thu Jan 30 17:37:50 2003
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: session.c,v 1.349 2003/01/24 23:57:32 sas Exp $ */
+/* $Id: session.c,v 1.350 2003/01/30 22:37:50 iliaa Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -678,7 +678,7 @@
 
                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;



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to