com php-src: Revert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifier s from pointer target type"":
ext/intl/intl_d ata.h

From: Date: Thu, 22 Aug 2013 15:57:18 +0000
Subject: com php-src: Revert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifier s from pointer target type"":
ext/intl/intl_d ata.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-73080@lists.php.net to get a copy of this message
Commit: a61f5bf925837ad39962f5d128b748f1c0c3b321 Author: Christopher Jones <sixd@php.net> Thu, 22 Aug 2013 08:57:18 -0700 Parents: 80917e5ca29b8eeed31d87915154dba13bdcc2b5 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a61f5bf925837ad39962f5d128b748f1c0c3b321 Log: Revert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"" This reverts commit f38bd22ed2c5f710f72e719d7ab2a41ce30541fc. Changed paths: M ext/intl/intl_data.h Diff: diff --git a/ext/intl/intl_data.h b/ext/intl/intl_data.h index 6966dc2..66ca27a 100644 --- a/ext/intl/intl_data.h +++ b/ext/intl/intl_data.h @@ -79,7 +79,7 @@ typedef struct _intl_data { int u8len; \ intl_convert_utf16_to_utf8(&u8value, &u8len, ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \ if((free_it)) { \ - efree((void *)ustring); \ + efree(ustring); \ } \ INTL_METHOD_CHECK_STATUS((obj), "Error converting value to UTF-8"); \ RETVAL_STRINGL(u8value, u8len, 0); \

« previous php.cvs (#73080) next »