summaryrefslogtreecommitdiff
path: root/ext/standard/crypt_blowfish.c
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2010-09-23 03:45:36 +0000
committerKalle Sommer Nielsen <kalle@php.net>2010-09-23 03:45:36 +0000
commitcb500110163b59116f37e0e3b48d8402e8132a60 (patch)
treeb3785c87bc38ffc1261a1307fd60263f7f7ff164 /ext/standard/crypt_blowfish.c
parent466c0b88d7a459ae2967ed1f72b790075fab4854 (diff)
downloadphp-git-cb500110163b59116f37e0e3b48d8402e8132a60.tar.gz
Fixed compiler warnings in the standard library
Diffstat (limited to 'ext/standard/crypt_blowfish.c')
-rw-r--r--ext/standard/crypt_blowfish.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/crypt_blowfish.c b/ext/standard/crypt_blowfish.c
index 6f728ed795..6c99a396d5 100644
--- a/ext/standard/crypt_blowfish.c
+++ b/ext/standard/crypt_blowfish.c
@@ -745,7 +745,7 @@ char *php_crypt_gensalt_blowfish_rn(unsigned long count,
output[1] = '2';
output[2] = 'a';
output[3] = '$';
- output[4] = '0' + count / 10;
+ output[4] = (char) ('0' + count / 10);
output[5] = '0' + count % 10;
output[6] = '$';