diff options
author | Sascha Schumann <sas@php.net> | 2002-04-22 20:42:01 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2002-04-22 20:42:01 +0000 |
commit | 303a784822bc5bdc1924029a967035c476078cb4 (patch) | |
tree | 2ba7e79f2d7972580b1c154f310c35da37c7e91a | |
parent | 5a83ad6dc1648c33aa9b69c90e21c3a2475e085d (diff) | |
download | php-git-303a784822bc5bdc1924029a967035c476078cb4.tar.gz |
remove unnecessary casts
# if you mind the bogus warnings, you can either switch the compiler
# or decrease the warning level
-rw-r--r-- | ext/standard/php_smart_str.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_smart_str.h b/ext/standard/php_smart_str.h index d05e615fe7..c0c2e770bb 100644 --- a/ext/standard/php_smart_str.h +++ b/ext/standard/php_smart_str.h @@ -84,7 +84,7 @@ static inline char *smart_str_print_unsigned(char *buf, unsigned long num) *p = '\0'; do { - *--p = (char)(num % 10) + '0'; + *--p = (num % 10) + '0'; num /= 10; } while (num > 0); |