Skip to content

Commit d1b3f62

Browse files
committed
Fix misplaced cast from PR #13
1 parent be1ad64 commit d1b3f62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

longpath.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ LONGPATH(CHAR_T *path)
8181
*start = sep;
8282
if (fhand != INVALID_HANDLE_VALUE) {
8383
STRLEN len = FN_STRLEN(fdata.cFileName);
84-
if ((STRLEN)(len < tmpbuf - tmpstart + sizeof(tmpbuf))) {
84+
if (len < (STRLEN)(tmpbuf - tmpstart + sizeof(tmpbuf))) {
8585
FN_STRCPY(tmpstart, fdata.cFileName);
8686
tmpstart += len;
8787
FindClose(fhand);

0 commit comments

Comments
 (0)