We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b1954f5 + 5e307d0 commit dbf211dCopy full SHA for dbf211d
win32/ftok.c
@@ -51,7 +51,7 @@ ftok(const char *pathname, int proj_id)
51
return (key_t)-1;
52
}
53
54
- ret = (key_t) ((proj_id & 0xff) << 24 | (st.st_dev & 0xff) << 16 | ((bhfi.nFileIndexLow | (__int64)bhfi.nFileIndexHigh << 32) & 0xffff));
+ ret = (key_t) ((proj_id & 0xff) << 24 | (st.st_dev & 0xff) << 16 | (bhfi.nFileIndexLow & 0xffff));
55
56
CloseHandle(fh);
57
PHP_WIN32_IOUTIL_CLEANUP_W()
0 commit comments