Skip to content

Commit 4bac74e

Browse files
committed
FIX: removed unnecessary casting
1 parent 0a99146 commit 4bac74e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/p-dir.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
///OS_FREE(dir.file.path);
206206

207207
// don't throw an error if the original path contains wildcard chars * or ?
208-
if (result < 0 && !(result == (REBCNT)-RFE_OPEN_FAIL && WILD_PATH(path)) ) {
208+
if (result < 0 && !(result == -RFE_OPEN_FAIL && WILD_PATH(path)) ) {
209209
Trap_Port(RE_CANNOT_OPEN, port, dir.error);
210210
}
211211

0 commit comments

Comments
 (0)