diff options
| author | Felipe Pena <felipe@php.net> | 2011-11-15 12:34:59 +0000 |
|---|---|---|
| committer | Felipe Pena <felipe@php.net> | 2011-11-15 12:34:59 +0000 |
| commit | 0fbb9ee359696182260c5c47ca83b762c7c2fd10 (patch) | |
| tree | 733615cb9190968ad1b6058d79bb096e197bab1b /ext/dba | |
| parent | f8503b4332dd27d2e60147e318212f9f6c39c3ce (diff) | |
| download | php-git-0fbb9ee359696182260c5c47ca83b762c7c2fd10.tar.gz | |
- We can constify in 5.4+
Diffstat (limited to 'ext/dba')
| -rw-r--r-- | ext/dba/dba_db4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dba/dba_db4.c b/ext/dba/dba_db4.c index b47aed160c..8a171291e1 100644 --- a/ext/dba/dba_db4.c +++ b/ext/dba/dba_db4.c @@ -48,7 +48,7 @@ static void php_dba_db4_errcall_fcn( /* Bug 51086, Berkeley DB 4.8.26 */ /* This code suppresses a BDB 4.8+ error message, thus keeping PHP test compatibility */ { - char *function = get_active_function_name(TSRMLS_C); + const char *function = get_active_function_name(TSRMLS_C); if (function && (!strcmp(function,"dba_popen") || !strcmp(function,"dba_open")) && (!strncmp(msg, "fop_read_meta", sizeof("fop_read_meta")-1) || !strncmp(msg, "BDB0004 fop_read_meta", sizeof("BDB0004 fop_read_meta")-1))) { |
