diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-08-14 23:53:27 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-08-14 23:53:27 +0400 |
commit | c78a1734c284fcd6805f6c8952c44a4b4887bd61 (patch) | |
tree | 7f4a3a981efee9b935291f469a1a2dd2dd8e2180 /ext/standard/dl.c | |
parent | 243383a811c2ff8ce138ba3715cafbd907eba1de (diff) | |
download | php-git-c78a1734c284fcd6805f6c8952c44a4b4887bd61.tar.gz |
Fixed compilation warnings
Diffstat (limited to 'ext/standard/dl.c')
-rwxr-xr-x[-rw-r--r--] | ext/standard/dl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/dl.c b/ext/standard/dl.c index 012592381b..19573d8e42 100644..100755 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -145,7 +145,7 @@ PHPAPI int php_load_extension(char *filename, int type, int start_now TSRMLS_DC) if (!handle) { #if PHP_WIN32 char *err = GET_DL_ERROR(); - if (err && (*err != "")) { + if (err && (*err != '\0')) { php_error_docref(NULL TSRMLS_CC, error_type, "Unable to load dynamic library '%s' - %s", libpath, err); LocalFree(err); } else { |