com php-src: fix compiler warning: phpdbg_bp.c
| From: | Bob Weinand | Date: | Sun, 17 Nov 2013 11:17:47 +0000 |
| Subject: | com php-src: fix compiler warning: phpdbg_bp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74900@lists.php.net to get a copy of this message | ||
Commit: f2edc066f2bab4cebef37c59c478315467b7f5d9
Author: krakjoe <joe.watkins@live.co.uk> Sun, 17 Nov 2013 11:17:47 +0000
Parents: dcead8ea90537dea6b06306ebb4767b2ff57d5ba
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f2edc066f2bab4cebef37c59c478315467b7f5d9
Log:
fix compiler warning
Changed paths:
M phpdbg_bp.c
Diff:
diff --git a/phpdbg_bp.c b/phpdbg_bp..c
index 76d8b01..e69b9fa 100644
--- a/phpdbg_bp.c
+++ b/phpdbg_bp.c
@@ -48,7 +48,7 @@ void phpdbg_set_breakpoint_file(const char *path, long line_num TSRMLS_DC) /* {{
struct stat sb;
if (VCWD_STAT(path, &sb) != FAILURE) {
- if (sb.st_mode & S_IFREG|S_IFLNK) {
+ if (sb.st_mode & (S_IFREG|S_IFLNK)) {
phpdbg_breakfile_t new_break;
zend_llist *break_files_ptr;
size_t path_len = strlen(path);