com php-src: fix compile warning: main/main.c
| From: | Antony Dovgal | Date: | Thu, 12 Dec 2013 08:47:41 +0000 |
| Subject: | com php-src: fix compile warning: main/main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-76644@lists.php.net to get a copy of this message | ||
Commit: 7949d5be476ce056b22539ed6fd742f1f8af2b33
Author: Antony Dovgal <tony@daylessday.org> Sat, 31 Dec 2011 15:54:38 +0400
Committer: Antony Dovgal <tony2001@php.net> Thu, 12 Dec 2013 12:47:41 +0400
Parents: 360a859a3b572ae76a32ef5e270c9a403fbc30c2
Branches: badoo-5..5_mysqlnd
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7949d5be476ce056b22539ed6fd742f1f8af2b33
Log:
fix compile warning
Changed paths:
M main/main.c
Diff:
diff --git a/main/main.c b/main/main.c
index c6cb09a..691f72e 100644
--- a/main/main.c
+++ b/main/main.c
@@ -1508,7 +1508,7 @@ static void php_message_handler_for_zend(long message, const void *data
TSRMLS_D
static int close_memcache_persistent_connections(zend_rsrc_list_entry *rsrc TSRMLS_DC) /* {{{ */
{
- char *type_name;
+ const char *type_name;
type_name = zend_rsrc_list_get_rsrc_type(rsrc->type);
if (type_name && strcmp(type_name, "persistent memcache connection") == 0) {