]> granicus.if.org Git - php/commitdiff
fix compiler warning
authorkrakjoe <joe.watkins@live.co.uk>
Sun, 17 Nov 2013 11:17:47 +0000 (11:17 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Sun, 17 Nov 2013 11:17:47 +0000 (11:17 +0000)
phpdbg_bp.c

index 76d8b01764ab25ec9485625dd4675a3de142ce04..e69b9fa9b331e13fbf01d3a3a0d581e67fde8a3e 100644 (file)
@@ -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);