diff options
author | Felipe Pena <felipe@php.net> | 2011-01-12 00:29:59 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2011-01-12 00:29:59 +0000 |
commit | 189b042a01bd3a9d51a39124ea5b8fad771e1545 (patch) | |
tree | cc86899f1b9e2eef47ed97444c61dafd39d08ecf /ext/intl/transliterator | |
parent | ddbbcdce49090c06183261c6dca9c340ed9d1d21 (diff) | |
download | php-git-189b042a01bd3a9d51a39124ea5b8fad771e1545.tar.gz |
- Fixed compiler warnings
Diffstat (limited to 'ext/intl/transliterator')
-rw-r--r-- | ext/intl/transliterator/transliterator_methods.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/transliterator/transliterator_methods.c b/ext/intl/transliterator/transliterator_methods.c index fbe2cf1984..e7ea329cef 100644 --- a/ext/intl/transliterator/transliterator_methods.c +++ b/ext/intl/transliterator/transliterator_methods.c @@ -259,7 +259,7 @@ PHP_FUNCTION( transliterator_list_ids ) "transliterator_list_ids: Failed to obtain registered transliterators" ); array_init( return_value ); - while( elem = uenum_unext( en, &elem_len, &status ) ) + while( (elem = uenum_unext( en, &elem_len, &status )) ) { char *el_char = NULL; int el_len = 0; @@ -365,7 +365,7 @@ PHP_FUNCTION( transliterator_transliterate ) RETURN_FALSE; } - if( start < 0 || (limit != -1 ) && (start > limit ) ) + if( start < 0 || ((limit != -1 ) && (start > limit )) ) { intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR, "transliterator_transliterate: \"start\" argument should be " |