Skip to content

Commit

Permalink
FIX: removed unnecessary casting
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Jan 31, 2023
1 parent 0a99146 commit 4bac74e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/p-dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
///OS_FREE(dir.file.path);

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

Expand Down

0 comments on commit 4bac74e

Please sign in to comment.